mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-05-30 07:55:43 +08:00
Minor 2.30.0 fixes
This commit is contained in:
parent
1f335f6b62
commit
74fc580c8d
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3757
package-lock.json
generated
3757
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@
|
|||||||
"js"
|
"js"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.9.0",
|
"@babel/core": "7.9.0",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
||||||
"@babel/preset-env": "^7.11.0",
|
"@babel/preset-env": "^7.11.0",
|
||||||
|
@ -4,14 +4,25 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||||
/>
|
/>
|
||||||
<title>Demo</title>
|
<meta name="theme-color" content="#000000" />
|
||||||
|
<title>simple-keyboard</title>
|
||||||
|
<style>
|
||||||
|
/**
|
||||||
|
* Disabling double-tap to zoom in iOS 10+
|
||||||
|
* as it interferes with simple-keyboard
|
||||||
|
*/
|
||||||
|
body,
|
||||||
|
html {
|
||||||
|
touch-action: manipulation;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
You need to enable JavaScript to run this app.
|
You need to enable JavaScript to run this app.
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="root">Demo Page</div>
|
<div id="root"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
// Do this as the first thing so that any code reading it knows the right env.
|
// Do this as the first thing so that any code reading it knows the right env.
|
||||||
process.env.BABEL_ENV = 'production';
|
process.env.BABEL_ENV = 'production';
|
||||||
process.env.NODE_ENV = 'production';
|
process.env.NODE_ENV = 'production';
|
||||||
|
@ -973,11 +973,13 @@ class SimpleKeyboard {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (this.options.debug) {
|
||||||
console.log(
|
console.log(
|
||||||
"Destroy: Instances remaining! Document listeners not removed",
|
"Destroy: Instances remaining! Document listeners not removed",
|
||||||
window["SimpleKeyboardInstances"]
|
window["SimpleKeyboardInstances"]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reset initialized flag
|
* Reset initialized flag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user