Comparing version 0.1.3 to 0.1.4
@@ -51,2 +51,3 @@ /** | ||
render: render, | ||
jytRender: jyt.render, | ||
addShortcutsToScope: jyt.addShortcutsToScope, | ||
@@ -53,0 +54,0 @@ registerPlugin: jyt.registerPlugin, |
@@ -167,2 +167,7 @@ /** | ||
//** server side implementation of angular's attrs.$addClass | ||
attrs.$addClass = function addClass(val) { | ||
e.attributes.class = (e.attributes.class || '') + ' ' + val; | ||
}; | ||
return attrs; | ||
@@ -169,0 +174,0 @@ } |
@@ -57,2 +57,6 @@ /** | ||
function angularizeNode(e) { | ||
// if e doesn't exist, return here | ||
if (!e) { return e; } | ||
var attr = null; | ||
@@ -69,5 +73,2 @@ var i = 0; | ||
// if e doesn't exist, return here | ||
if (!e) { return e; } | ||
// if e is an array, we need to recurse with each item in the array | ||
@@ -74,0 +75,0 @@ if (jyt.utils.isArray(e)) { |
{ | ||
"name": "jangular", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "JavaScript based templating engine for Angular", | ||
@@ -5,0 +5,0 @@ "main": "lib/jangular.js", |
54769
1341