aboutsummaryrefslogtreecommitdiffstats
path: root/test/jqLiteSpec.js
AgeCommit message (Collapse)Author
2011-07-18feat(strict mode): adding strict mode flag to all js filesIgor Minar
the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done
2011-07-17style(jqLiteSpec): add spaceDi Peng
2011-07-17feat(jqlite): added show(),hide() and eq() methods to jqliteDi Peng
- add those three methods to jqlite
2011-07-12fix:jqLite: Set event.target on IE<8Vojta Jina
IE<8's Event has not target property - it has srcElement property. Fix that to be consistent as jQuery.
2011-07-12fix:jqLite: Normalize non-existing attributes to undefined as jQueryVojta Jina
jqLite was returning null, but jQuery returns undefined
2011-07-12fix:jqLite: Fix binding to more events separated by spaceVojta Jina
The var eventHandler was defined outside forEach loop, so registering more events caused calling listeners registered by the last one. Regression: elm.bind('click keyup', callback1); elm.bind('click', callback2); elm.bind('keyup', callback3); Firing click event would have executed callback1, callback3 !
2011-06-08Added prepend() to jqLiteMisko Hevery
2011-06-08Proper handling of special attributes in jqliteMisko Hevery
2011-03-31add much needed whitespace to jqLiteSpec.jsIgor Minar
can we agree to put more white space into our code? I follow there rules for specs: - 1 blank line between sections of nontrivial it block - 2 blank lines between it blocks - 2 blank lines between describe blocks - 2 blank lines between beforeEach and afterEach - no blank line between describe and the first child it - no blank lines between two or more closing }); lines
2011-03-31add specs for jqLite wrapping/node creationIgor Minar
tests cover: - creating comment tags from a string - creating script tag from a string - wrapping document fragment
2011-03-31ignore jqLite#append for doc fragmentIgor Minar
this is needed to be compatible with jqQuery 1.5.1
2011-03-31fix jqLite#parent to be compatible with jQueryIgor Minar
our original implementation doesn't work with document fragments on IE - tests were added to cover missing cases
2011-02-19correct hashchange event registration on windowMisko Hevery
2011-02-16Changed the angular.compile(element)(scope[, cloneAttachNode])Misko Hevery
2011-02-16rewrite of JQuery lite implementation, which now better supports selected setsMisko Hevery
2011-02-16Add public API to retrieve scope from element.Misko Hevery