bar-of-progress
Advanced tools
Comparing version 0.0.0 to 1.0.0
15
index.js
@@ -1,6 +0,3 @@ | ||
var crel = require('crel'), | ||
DefaultStyle = require('default-style'); | ||
var crel = require('crel'); | ||
new DefaultStyle('.progress-bar > div { height:100%; }'); | ||
function ProgressBar(cssclass, element) { | ||
@@ -46,12 +43,2 @@ this._render(cssclass, element); | ||
ProgressBar.prototype.cssClass = 'progress-bar'; | ||
ProgressBar.prototype.cssClass = function(cssClass) { | ||
if (arguments.length === 0) { | ||
return this._class; | ||
} | ||
this._class = cssClass; | ||
this._update(); | ||
}; | ||
ProgressBar.prototype._update = function() { | ||
@@ -58,0 +45,0 @@ var value = this._value; |
{ | ||
"name": "bar-of-progress", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"description": "bar-of-progress", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6014
120