New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ribcage-gen

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ribcage-gen - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

backbone-pane-template/example/entry.css

12

backbone-component-template/index.js

@@ -14,4 +14,5 @@ 'use strict';

})
, {{PascalName}}
var {{PascalName}} = Base.extend({
{{PascalName}} = Base.extend({

@@ -40,6 +41,7 @@ template: require('./template.html.hbs')

// always stopListening so we don't reattach multiple listeners
if (this.state) this.stopListening(this.state)
// listen to state, model, etc… events
// this.listenTo(this.state, 'change:text', this.onStateChangeText)
if (this.state){
this.stopListening(this.state)
// listen to state, model, etc… events
// this.listenTo(this.state, 'change:text', this.onStateChangeText)
}
}

@@ -46,0 +48,0 @@

@@ -7,2 +7,9 @@ var test = require('prova')

}
, stopListening
, setup = function setup(){
stopListening = sinon.spy({{PascalName}}.protoype, 'stopListening')
}
, cleanup = function cleanup(){
stopListening.restore()
}

@@ -24,12 +31,3 @@ test('{{PascalName}}: constructor', function(t){

, fn = view.bindEvents
, stopListening
function setup(){
stopListening = sinon.spy(view, 'stopListening')
}
function cleanup(){
stopListening.restore()
}
setup()

@@ -36,0 +34,0 @@

@@ -9,2 +9,3 @@ 'use strict';

, react: 'react-component-template'
, pane: 'backbone-pane-template'
}

@@ -11,0 +12,0 @@

{
"name": "ribcage-gen",
"version": "1.1.0",
"version": "1.2.0",
"description": "A generator script for ribcage components",

@@ -5,0 +5,0 @@ "main": "index.js",

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