jeff-jangular
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -240,2 +240,5 @@ /* | ||
} catch (ex) { | ||
// just always do this - because we don't always put a var from scope here - could be a string | ||
evaled = null; | ||
/* | ||
if ( ex.name === 'ReferenceError' ) { | ||
@@ -247,2 +250,3 @@ evaled = null; | ||
} | ||
*/ | ||
} | ||
@@ -339,4 +343,4 @@ | ||
delete newModel[name]; // because otherwise we'll eval a variable like 'gh-directive', which is not valid | ||
var template = Jeff.getTemplate(directivePath); | ||
var rendered = template(newModel, e, e.attributes); | ||
var directive = Jeff.getTemplate(directivePath); | ||
var rendered = directive(newModel, e, e.attributes); | ||
e = angularize(rendered, newModel); // since we're replacing... | ||
@@ -350,2 +354,5 @@ e.attributes = e.attributes || {}; | ||
}, | ||
'transform': function(name, directive) { | ||
return directive.transform; | ||
}, | ||
'bindAndFilter': function(name, opts) { | ||
@@ -352,0 +359,0 @@ var transform = angularTransforms['ng-bind']; |
{ | ||
"name": "jeff-jangular", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"main": "lib/jangular.js", | ||
@@ -5,0 +5,0 @@ "description": "A plugin for jeff.js that allows you to render pages from server-side jeff templates that contain angular syntax.", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90508
765