turbo_ready 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/app/assets/builds/turbo_ready.js +1 -1
- data/app/assets/builds/turbo_ready.js.map +3 -3
- data/app/javascript/methods/mutate.js +4 -9
- data/lib/turbo_ready/version.rb +1 -1
- data/package.json +1 -1
- data/tags +2 -2
- data/yarn-error.log +263 -184
- metadata +1 -1
@@ -9,16 +9,11 @@ const textarea = /TEXTAREA/i
|
|
9
9
|
|
10
10
|
function updating (el, toEl, childrenOnly, skip) {
|
11
11
|
if (el.nodeType !== Node.ELEMENT_NODE) return
|
12
|
+
if (el !== document.activeElement) return
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
if (protect) return skip()
|
17
|
-
|
18
|
-
protect =
|
19
|
-
el === document.activeElement &&
|
20
|
-
el.tagName.match(input) &&
|
21
|
-
el.getAttribute('type').match(inputTypes)
|
14
|
+
const protect =
|
15
|
+
el.tagName.match(textarea) ||
|
16
|
+
(el.tagName.match(input) && el.getAttribute('type').match(inputTypes))
|
22
17
|
|
23
18
|
if (protect) return skip()
|
24
19
|
}
|
data/lib/turbo_ready/version.rb
CHANGED
data/package.json
CHANGED
data/tags
CHANGED
@@ -217196,7 +217196,7 @@ VDash node_modules/parse-srcset/tests/he.js /^ var decodeMap = {'Aacute':'\\xC1'
|
|
217196
217196
|
VDash node_modules/simple-html-tokenizer/dist/es6/index.js /^ Aacute: "Á", aacute: "á", Abreve: "Ă", abreve: "ă", ac: "∾", acd: "∿", acE: "∾̳",/;" p variable:namedCharRefs
|
217197
217197
|
VDash node_modules/simple-html-tokenizer/dist/simple-html-tokenizer.js /^ Aacute: "Á", aacute: "á", Abreve: "Ă", abreve: "ă", ac: "∾", acd: "∿", acE: "∾/;" p variable:anonymousFunction3825d8d70300.namedCharRefs
|
217198
217198
|
VDash node_modules/simple-html-tokenizer/dist/types/generated/html5-named-char-refs.d.ts /^ VDash: string;$/;" C
|
217199
|
-
VERSION lib/turbo_ready/version.rb /^ VERSION = "0.1.
|
217199
|
+
VERSION lib/turbo_ready/version.rb /^ VERSION = "0.1.2"$/;" C module:TurboReady
|
217200
217200
|
VERSION node_modules/@angular/compiler/esm2015/src/output/source_map.js /^const VERSION = 3;$/;" C
|
217201
217201
|
VERSION node_modules/@angular/compiler/esm2015/src/version.js /^export const VERSION = new Version('8.2.14');$/;" C
|
217202
217202
|
VERSION node_modules/@angular/compiler/esm5/src/output/source_map.js /^var VERSION = 3;$/;" v
|
@@ -481065,7 +481065,7 @@ version package-lock.json /^ "version": "9.4.0",$/;" s object:packages.node
|
|
481065
481065
|
version package-lock.json /^ "version": "9.4.3",$/;" s object:dependencies.lint-staged
|
481066
481066
|
version package-lock.json /^ "version": "9.4.3",$/;" s object:packages.node_modules/lint-staged
|
481067
481067
|
version package-lock.json /^ "version": "0.0.7",$/;" s
|
481068
|
-
version package.json /^ "version": "0.1.
|
481068
|
+
version package.json /^ "version": "0.1.1",$/;" s
|
481069
481069
|
versionIncluded node_modules/prettier-standard/src/vendor/node_modules/resolve/lib/core.js /^function versionIncluded(specifierValue) {$/;" f
|
481070
481070
|
versionIncluded node_modules/resolve/lib/core.js /^function versionIncluded(specifierValue) {$/;" f
|
481071
481071
|
versionInfo node_modules/graphql/version.d.ts /^export const versionInfo: {$/;" C
|