@youngbeen/angle-ctrl
Advanced tools
+12
-0
@@ -147,2 +147,14 @@ "use strict"; | ||
| debugOn: function debugOn() { | ||
| debug = true; | ||
| window.localStorage.debug = debug; | ||
| window.alert("debug模式调整为" + debug); | ||
| }, | ||
| debugOff: function debugOff() { | ||
| debug = false; | ||
| window.localStorage.debug = debug; | ||
| window.alert("debug模式调整为" + debug); | ||
| }, | ||
| // open debugging mode cheat -- trigger click counts, [interval] | ||
@@ -149,0 +161,0 @@ cheatDebugClick: function cheatDebugClick(count) { |
+1
-1
| { | ||
| "name": "@youngbeen/angle-ctrl", | ||
| "version": "1.0.4", | ||
| "version": "1.0.5", | ||
| "description": "The controllers used in angle-FE team", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+12
-0
@@ -142,2 +142,14 @@ // this controller is about to provide functions for debugging controll | ||
| debugOn () { | ||
| debug = true | ||
| window.localStorage.debug = debug | ||
| window.alert('debug模式调整为' + debug) | ||
| }, | ||
| debugOff () { | ||
| debug = false | ||
| window.localStorage.debug = debug | ||
| window.alert('debug模式调整为' + debug) | ||
| }, | ||
| // open debugging mode cheat -- trigger click counts, [interval] | ||
@@ -144,0 +156,0 @@ cheatDebugClick (count, interval = 1000) { |
23016
2.43%646
3.19%