Skip to content

Commit 12ca382

Browse files
author
Felix Nielsen
committed
distribution of #147
1 parent 618bb44 commit 12ca382

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

dist/conversational-form.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3465,7 +3465,7 @@ var cf;
34653465
}
34663466
var average = values / length;
34673467
var percent = Math.min(1, Math.max(0, 1 - ((50 - average) / 50)));
3468-
if (this.maxBorderWidth === 0) {
3468+
if (!this.maxBorderWidth) {
34693469
this.maxBorderWidth = this.elementToScale.offsetWidth * 0.5;
34703470
}
34713471
this.elementToScale.style.borderWidth = (this.maxBorderWidth * percent) + "px";
@@ -5578,16 +5578,16 @@ else {
55785578
(function (root, factory) {
55795579
// from http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/#update
55805580
if(typeof define === "function" && define.amd) {
5581-
define(["conversationalform"], function(conversationalform){
5581+
define(["conversational-form"], function(conversationalform){
55825582
return (root.conversationalform = factory(conversationalform));
55835583
});
55845584
} else if(typeof module === "object" && module.exports) {
5585-
module.exports = (root.conversationalform = factory(require("conversationalform")));
5585+
module.exports = (root.conversationalform = factory(require("conversational-form")));
55865586
} else {
55875587
root.conversationalform = factory(cf.ConversationalForm);
55885588
}
55895589
}(this, function(conversationalform) {
55905590
// module code here....
55915591
return conversationalform || cf.ConversationalForm;
55925592
}
5593-
));
5593+
));

0 commit comments

Comments
 (0)