🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@youngbeen/angle-ctrl

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@youngbeen/angle-ctrl - npm Package Compare versions

Comparing version
1.0.4
to
1.0.5
+12
-0
DebugCtrl.js

@@ -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",

@@ -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) {