modal
Advanced tools
Comparing version 0.2.0 to 1.0.0
@@ -23,3 +23,3 @@ var jade = require('jade/lib/runtime.js');module.exports = function anonymous(locals, attrs, escape, rethrow, merge) { | ||
buf.push('<button'); | ||
buf.push(attrs({ "class": ('btn') + ' ' + ('js-button') + ' ' + (button.className) }, {"class":true})); | ||
buf.push(attrs({ "class": ('js-button') + ' ' + (button.className) }, {"class":true})); | ||
buf.push('>' + escape((interp = button.text) == null ? '' : interp) + '</button>'); | ||
@@ -34,3 +34,3 @@ } | ||
buf.push('<button'); | ||
buf.push(attrs({ "class": ('btn') + ' ' + ('js-button') + ' ' + (button.className) }, {"class":true})); | ||
buf.push(attrs({ "class": ('js-button') + ' ' + (button.className) }, {"class":true})); | ||
buf.push('>' + escape((interp = button.text) == null ? '' : interp) + '</button>'); | ||
@@ -37,0 +37,0 @@ } |
@@ -47,3 +47,3 @@ module.exports = modal | ||
[ { text: 'Cancel', event: 'cancel', className: '', keyCodes: [ 27 ] } | ||
, { text: 'Confirm', event: 'confirm', className: 'btn-primary' } | ||
, { text: 'Confirm', event: 'confirm', className: '' } | ||
] | ||
@@ -50,0 +50,0 @@ , clickOutsideToClose: true |
{ | ||
"name": "modal", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "A modal window for the browser.", | ||
"main": "modal.js", | ||
"scripts": { | ||
"test": "node_modules/.bin/mocha/ -R spec test" | ||
"test": "mocha -R spec test" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
19792