Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jeff-jangular

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeff-jangular - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

11

lib/jangular.js

@@ -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'];

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc