show-js-error
Advanced tools
# Changelog | ||
## v1.5.0 | ||
- Added output of total number of errors. | ||
- Increased size of buttons. | ||
## v1.4.0 | ||
@@ -4,0 +8,0 @@ Added ability to change text for button copy. |
@@ -314,11 +314,2 @@ /*! show-js-error | © 2016 Denis Seleznev | MIT License */ | ||
this._num = this.elem({ | ||
tag: 'span', | ||
name: 'num', | ||
props: { | ||
innerHTML: this._i + 1 | ||
}, | ||
container: this._arrows | ||
}); | ||
this._next = this.elem({ | ||
@@ -342,2 +333,11 @@ tag: 'input', | ||
this._num = this.elem({ | ||
tag: 'span', | ||
name: 'num', | ||
props: { | ||
innerHTML: this._i + 1 | ||
}, | ||
container: this._arrows | ||
}); | ||
var append = function() { | ||
@@ -482,3 +482,3 @@ document.body.appendChild(that._container); | ||
this._prev.disabled = !this._i; | ||
this._num.innerHTML = this._i + 1; | ||
this._num.innerHTML = (this._i + 1) + ' / ' + this._buffer.length; | ||
this._next.disabled = this._i === this._buffer.length - 1; | ||
@@ -485,0 +485,0 @@ |
@@ -314,11 +314,2 @@ /*! show-js-error | © 2016 Denis Seleznev | MIT License */ | ||
this._num = this.elem({ | ||
tag: 'span', | ||
name: 'num', | ||
props: { | ||
innerHTML: this._i + 1 | ||
}, | ||
container: this._arrows | ||
}); | ||
this._next = this.elem({ | ||
@@ -342,2 +333,11 @@ tag: 'input', | ||
this._num = this.elem({ | ||
tag: 'span', | ||
name: 'num', | ||
props: { | ||
innerHTML: this._i + 1 | ||
}, | ||
container: this._arrows | ||
}); | ||
var append = function() { | ||
@@ -482,3 +482,3 @@ document.body.appendChild(that._container); | ||
this._prev.disabled = !this._i; | ||
this._num.innerHTML = this._i + 1; | ||
this._num.innerHTML = (this._i + 1) + ' / ' + this._buffer.length; | ||
this._next.disabled = this._i === this._buffer.length - 1; | ||
@@ -485,0 +485,0 @@ |
{ | ||
"name": "show-js-error", | ||
"description": "Show a message about a js error in any browser", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Denis Seleznev", |
Sorry, the diff of this file is not supported yet
31697
0.7%973
0.31%