diff --git a/test/event.html b/test/event.html index 9dec66419..d2182008d 100644 --- a/test/event.html +++ b/test/event.html @@ -223,14 +223,14 @@

Zepto Event unit tests

testEventsOnPlainObjects: function (t){ var obj = {}, - log = [], - fn1 = function(){ log.push('a') }, + log = [], + fn1 = function(){ log.push('a') }, fn2 = function(evt, value){ log.push(value) }, - fn3 = function(evt, value){ log.push("event2") } + fn3 = function(evt, value){ log.push("event2") } $(obj) - .on('event', fn1) - .on('event', fn2) - .on('event2', fn3) + .on('event', fn1) + .on('event', fn2) + .on('event2', fn3) $(obj).trigger('event', 'b') t.assertEqual('a b', log.join(' ')) diff --git a/test/fixtures/ajax_load_selector_javascript.html b/test/fixtures/ajax_load_selector_javascript.html index a89929128..9951e0956 100644 --- a/test/fixtures/ajax_load_selector_javascript.html +++ b/test/fixtures/ajax_load_selector_javascript.html @@ -10,7 +10,7 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.