Permalink
Browse files

Fix this context for loops

  • Loading branch information...
1 parent a709f77 commit f646858ae33da673e2bdd65868c53a241f1ef09d @pure committed Mar 16, 2011
Showing with 6 additions and 6 deletions.
  1. +2 −2 libs/pure.js
  2. +3 −3 libs/pure_min.js
  3. +1 −1 package.json
View
@@ -7,7 +7,7 @@
Copyright (c) 2011 Michael Cvilic - BeeBole.com
Thanks to Rog Peppe for the functional JS jump
- revision: 2.67
+ revision: 2.68
*/
var $p, pure = $p = function(){
@@ -116,7 +116,7 @@ $p.core = function(sel, ctxt, plugins){
// returns the string generator function
function wrapquote(qfn, f){
return function(ctxt){
- return qfn('' + f.call(ctxt.context, ctxt));
+ return qfn('' + f.call(ctxt.item || ctxt.context, ctxt));
};
}
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -8,7 +8,7 @@
"dependencies" : [],
"lib" : "libs",
"main" : "libs/pure.js",
- "version" : "2.67.0",
+ "version" : "2.68.0",
"repository" : {
"type" : "git",
"url" : "http://github.com/pure/pure.git"

0 comments on commit f646858

Please sign in to comment.