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

templejs

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

templejs - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

2

lib/index.js

@@ -17,3 +17,3 @@ var Binding = require("./binding"),

// static properties/methods
Temple.VERSION = "0.4.1";
Temple.VERSION = "0.4.2";
Temple.util = util;

@@ -20,0 +20,0 @@ Temple.Events = require("./events");

@@ -14,3 +14,3 @@ var Binding = require("./binding"),

if (parentNode != null && !util.isNodeAtDOMPosition(this.node, parentNode, beforeNode)) {
parentNode.insertBefore(this.node, beforeNode);
this.insertNode(parentNode, beforeNode);
}

@@ -20,3 +20,3 @@

else if (parentNode == null && this.node.parentNode != null) {
this.node.parentNode.removeChild(this.node);
this.removeNode();
}

@@ -28,2 +28,10 @@

insertNode: function(parent, before) {
parent.insertBefore(this.node, before);
},
removeNode: function() {
this.node.parentNode.removeChild(this.node);
},
prop: function(name, value) {

@@ -30,0 +38,0 @@ if (util.isObject(name) && value == null) {

{
"name": "templejs",
"version": "0.4.1",
"version": "0.4.2",
"description": "A modern JavaScript view framework.",

@@ -26,14 +26,15 @@ "author": "Beneath the Ink <info@beneaththeink.com>",

"dependencies": {
"trackr": "~1.0.1"
"trackr": "~1.0.3"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-browserify": "~3.3.0",
"grunt-browserify": "~3.5.0",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-uglify": "~0.7.0",
"grunt-contrib-uglify": "~0.8.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-wrap2000": "~0.1.0",
"chai": "~2.0.0",
"chai": "~2.1.0",
"minimist": "~1.1.0",
"mocha": "~2.1.0"
"mocha": "~2.1.0",
"underscore": "~1.8.2"
},

@@ -40,0 +41,0 @@ "license": "MIT",

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