show-js-error
Advanced tools
# Changelog | ||
## v1.4.0 | ||
Added ability to change text for button copy. | ||
## v1.3.0 | ||
@@ -12,3 +15,3 @@ - Added screen properties in detailed message | ||
errorLoading: true, | ||
templateDetailedMessage: '```\n{message}\n```' | ||
templateDetailedMessage: 'Before\n{message}\nAfter' | ||
}); | ||
@@ -18,2 +21,2 @@ ``` | ||
## v1.2.0 | ||
- Added bower support | ||
Added bower support. |
@@ -10,2 +10,3 @@ /*! show-js-error | © 2016 Denis Seleznev | MIT License */ | ||
* @param {String} [settings.userAgent] | ||
* @param {String} [settings.copyText] | ||
* @param {String} [settings.sendText] | ||
@@ -260,3 +261,3 @@ * @param {String} [settings.sendUrl] | ||
type: 'button', | ||
value: 'Copy', | ||
value: this.settings.copyText || 'Copy', | ||
onclick: function() { | ||
@@ -263,0 +264,0 @@ that.copyText(); |
@@ -10,2 +10,3 @@ /*! show-js-error | © 2016 Denis Seleznev | MIT License */ | ||
* @param {String} [settings.userAgent] | ||
* @param {String} [settings.copyText] | ||
* @param {String} [settings.sendText] | ||
@@ -260,3 +261,3 @@ * @param {String} [settings.sendUrl] | ||
type: 'button', | ||
value: 'Copy', | ||
value: this.settings.copyText || 'Copy', | ||
onclick: function() { | ||
@@ -263,0 +264,0 @@ that.copyText(); |
{ | ||
"name": "show-js-error", | ||
"description": "Show a message about a js error in any browser", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"author": { | ||
@@ -11,8 +11,3 @@ "name": "Denis Seleznev", | ||
"homepage": "https://github.com/hcodes/show-js-error", | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/hcodes/show-js-error/blob/gh-pages/LICENSE" | ||
} | ||
], | ||
"license": "MIT", | ||
"repository": { | ||
@@ -32,6 +27,6 @@ "type": "git", | ||
"devDependencies": { | ||
"gulp": "3.9.x", | ||
"gulp": "3.x", | ||
"gulp-concat": "2.6.x", | ||
"gulp-less": "3.0.x", | ||
"eslint": "2.2.x" | ||
"gulp-less": "3.1.x", | ||
"eslint": "2.x" | ||
}, | ||
@@ -38,0 +33,0 @@ "scripts": { |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
970
0.21%31477
-5.72%6
-14.29%1
Infinity%0
-100%