Permalink
Browse files

fix direct node assignment with (node)

  • Loading branch information...
pure committed Jan 16, 2011
1 parent 74364ee commit 6cfd32ccd8faf0279553405b92f56037f41ff88b
Showing with 29 additions and 27 deletions.
  1. +1 −1 README.md
  2. +1 −1 index.html
  3. 0 index.js
  4. +1 −1 js/demo.js
  5. +3 −1 libs/pure.js
  6. +23 −23 libs/pure_min.js
View
@@ -9,5 +9,5 @@
<p>&nbsp;</p>
-Copyright (c) 2010 Michael Cvilic - BeeBole. All Rights Reserved
+&copy; 2011 Michael Cvilic - BeeBole. All Rights Reserved
PURE is an Open Source Software. You can use, redistribute and/or modify it under the terms of the MIT Licence.
View
@@ -8,7 +8,7 @@
<!--JSON needed to show the source code only -->
<script src="libs/json2.js"></script>
- <script src="libs/pure_min.js"></script>
+ <script src="libs/pure.js"></script>
<!-- Example page files -->
<script src="js/demo.js"></script>
View
No changes.
View
@@ -2,7 +2,7 @@
var loadLib, runAll, run, transform;
(function(){
-
+ //java -jar compiler.jar --js libs/pure.js --js_output_file libs/pure_min.js
var currLib = 'jquery'; //default lib
loadLib = function(lib){
View
@@ -7,7 +7,7 @@
Copyright (c) 2010 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
- revision: 2.63
+ revision: 2.64
*/
var $p, pure = $p = function(){
@@ -16,6 +16,8 @@ var $p, pure = $p = function(){
if(typeof sel === 'string'){
ctxt = arguments[1] || false;
+ }else if(sel && !sel[0] && !sel.length){
+ sel = [sel];
}
return $p.core(sel, ctxt);
};
Oops, something went wrong.

0 comments on commit 6cfd32c

Please sign in to comment.