Changeset 2834
- Timestamp:
- 08/22/07 06:19:22 (1 year ago)
- Location:
- trunk/jquery/src
- Files:
-
- 2 modified
-
jquery/jquery.js (modified) (2 diffs)
-
selector/selector.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/jquery/jquery.js
r2833 r2834 1858 1858 // for it (a handy shortcut) 1859 1859 if ( typeof fn == "string" ) 1860 fn = eval("f unction(a,i){return " + fn + "}");1860 fn = eval("false||function(a,i){return " + fn + "}"); 1861 1861 1862 1862 var result = []; … … 1912 1912 // for it (a handy shortcut) 1913 1913 if ( typeof fn == "string" ) 1914 fn = eval("f unction(a){return " + fn + "}");1914 fn = eval("false||function(a){return " + fn + "}"); 1915 1915 1916 1916 var result = []; -
trunk/jquery/src/selector/selector.js
r2820 r2834 406 406 407 407 // Build a custom macro to enclose it 408 eval("f =function(a,i){return " + f + "}");408 f = eval("false||function(a,i){return " + f + "}"); 409 409 410 410 // Execute it against the current filter
