Roo/bootstrap/BezierSignature.js
authorAlan Knowles <alan@roojs.com>
Wed, 16 Jan 2019 07:26:02 +0000 (15:26 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 16 Jan 2019 07:26:02 +0000 (15:26 +0800)
Roo/bootstrap/BezierSignature.js

index 548be63..63a3449 100644 (file)
@@ -256,7 +256,7 @@ Roo.extend(Roo.bootstrap.BezierSignature, Roo.bootstrap.Component,
         this.strokeUpdate(e);
         
         if (this.throttle) {
-            this.throttle(this.strokeUpdate, this.throttle);
+            this.throttleStroke(this.strokeUpdate, this.throttle);
         }
         else {
             this.strokeUpdate(e);
@@ -547,7 +547,7 @@ Roo.extend(Roo.bootstrap.BezierSignature, Roo.bootstrap.Component,
         return Bezier;
     }()),
     
-    throttle: function(fn, wait) {
+    throttleStroke: function(fn, wait) {
       if (wait === void 0) { wait = 250; }
       var previous = 0;
       var timeout = null;