Fix ES5 comma-spacing eslint rule [MAILPOET-1028]

This commit is contained in:
stoletniy
2017-07-27 17:53:44 +03:00
committed by pavel-mailpoet
parent 5773d46f1c
commit 4988aaf14f
3 changed files with 2 additions and 3 deletions

View File

@ -44,7 +44,6 @@
"no-empty": 0, "no-empty": 0,
"no-extra-semi": 0, "no-extra-semi": 0,
"no-useless-escape": 0, "no-useless-escape": 0,
"comma-spacing": 0,
"wrap-iife": 0, "wrap-iife": 0,
"no-unused-expressions": 0, "no-unused-expressions": 0,
"block-spacing": 0, "block-spacing": 0,

View File

@ -1,3 +1,3 @@
define([], function() { define([], function() {
!function(e,o,n){window.HSCW=o,window.HS=n,n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={},t.readyQueue=[],t.config=function(e){this.userConfig=e},t.ready=function(e){this.readyQueue.push(e)},o.config={docs:{enabled:!0,baseUrl:"//mailpoet3.helpscoutdocs.com/"},contact:{enabled:!0,formId:"aa21ca80-a4f5-11e6-91aa-0a5fecc78a4d"}};var r=e.getElementsByTagName("script")[0],c=e.createElement("script");c.type="text/javascript",c.async=!0,c.src="https://djtflbt20bdde.cloudfront.net/",r.parentNode.insertBefore(c,r)}(document,window.HSCW||{},window.HS||{}); !function(e, o, n){window.HSCW=o, window.HS=n, n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={}, t.readyQueue=[], t.config=function(e){this.userConfig=e}, t.ready=function(e){this.readyQueue.push(e)}, o.config={docs:{enabled:!0, baseUrl:"//mailpoet3.helpscoutdocs.com/"}, contact:{enabled:!0, formId:"aa21ca80-a4f5-11e6-91aa-0a5fecc78a4d"}};var r=e.getElementsByTagName("script")[0], c=e.createElement("script");c.type="text/javascript", c.async=!0, c.src="https://djtflbt20bdde.cloudfront.net/", r.parentNode.insertBefore(c, r)}(document, window.HSCW||{}, window.HS||{});
}); });

View File

@ -27,7 +27,7 @@ define(
coerce_types = { 'true': !0, 'false': !1, 'null': null }; coerce_types = { 'true': !0, 'false': !1, 'null': null };
// Iterate over all name=value pairs. // Iterate over all name=value pairs.
$.each( this.serializeArray(), function(j,v){ $.each( this.serializeArray(), function(j, v){
var key = v.name, var key = v.name,
val = v.value, val = v.value,
cur = obj, cur = obj,