ext_yarn 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ext_yarn/version.rb +1 -1
- data/vendor/.yarn-integrity +1 -2
- data/vendor/jquery-ujs/package.json +1 -1
- data/vendor/jquery-ujs/src/rails.js +14 -4
- data/yarn.lock +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc1b39d7ac52024f5186be60032f8f1072d9710c1b0e584ce0b988801e06d4b8
|
4
|
+
data.tar.gz: 997bd8c1871ca0b0c4cb50bbc5115caf930135095b891b090e9a8d21ca460d57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6aa384def0d3f4c50ca2a043e3e70e6af1271ddf7644fbfc0cb161059ac196fab8f65338a479d816e7407cd03cd654d1e57317235029e2d0d3df7e09c1f61a1
|
7
|
+
data.tar.gz: a492bf36e6254e50671b5f1250d117e1918102e96eefe6c7f231779ea1b9b68b65b79b3cfc9d547c6816485c1b12638a79a33f37830511d2ba443add66bad153
|
data/lib/ext_yarn/version.rb
CHANGED
data/vendor/.yarn-integrity
CHANGED
@@ -49,8 +49,7 @@
|
|
49
49
|
"font-awesome-sass@^4.7.0": "https://registry.yarnpkg.com/font-awesome-sass/-/font-awesome-sass-4.7.0.tgz#4eda693e915009ce00b228e0964dc5eca9bc34e1",
|
50
50
|
"jquery-pjax@defunkt/jquery-pjax": "https://codeload.github.com/defunkt/jquery-pjax/tar.gz/153262eda33e31119eabb97cd5f14365580a3b35",
|
51
51
|
"jquery-ui@^1.12.1": "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.12.1.tgz#bcb4045c8dd0539c134bc1488cdd3e768a7a9e51",
|
52
|
-
"jquery-ujs@rails/jquery-ujs": "https://codeload.github.com/rails/jquery-ujs/tar.gz/
|
53
|
-
"jquery@>=1.8.0": "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787",
|
52
|
+
"jquery-ujs@rails/jquery-ujs": "https://codeload.github.com/rails/jquery-ujs/tar.gz/9e805c90c8cfc57b39967052e1e9013ccb318cf8",
|
54
53
|
"jquery@^1.8.3 || ^2.0 || ^3.0": "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787",
|
55
54
|
"jquery@^3.0": "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca",
|
56
55
|
"jquery@^3.2.1": "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/* jshint node: true */
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Unobtrusive scripting adapter for jQuery
|
@@ -10,10 +10,13 @@
|
|
10
10
|
*
|
11
11
|
*/
|
12
12
|
|
13
|
-
|
14
|
-
// by detecting and raising an error when it happens.
|
13
|
+
(function() {
|
15
14
|
'use strict';
|
16
15
|
|
16
|
+
var jqueryUjsInit = function($, undefined) {
|
17
|
+
|
18
|
+
// Cut down on the number of issues from people inadvertently including jquery_ujs twice
|
19
|
+
// by detecting and raising an error when it happens.
|
17
20
|
if ( $.rails !== undefined ) {
|
18
21
|
$.error('jquery-ujs has already been loaded!');
|
19
22
|
}
|
@@ -552,4 +555,11 @@
|
|
552
555
|
});
|
553
556
|
}
|
554
557
|
|
555
|
-
}
|
558
|
+
};
|
559
|
+
|
560
|
+
if (window.jQuery) {
|
561
|
+
jqueryUjsInit(jQuery);
|
562
|
+
} else if (typeof exports === 'object' && typeof module === 'object') {
|
563
|
+
module.exports = jqueryUjsInit;
|
564
|
+
}
|
565
|
+
})();
|
data/yarn.lock
CHANGED
@@ -93,11 +93,9 @@ jquery-ui@^1.12.1:
|
|
93
93
|
|
94
94
|
jquery-ujs@rails/jquery-ujs:
|
95
95
|
version "1.2.2"
|
96
|
-
resolved "https://codeload.github.com/rails/jquery-ujs/tar.gz/
|
97
|
-
dependencies:
|
98
|
-
jquery ">=1.8.0"
|
96
|
+
resolved "https://codeload.github.com/rails/jquery-ujs/tar.gz/9e805c90c8cfc57b39967052e1e9013ccb318cf8"
|
99
97
|
|
100
|
-
|
98
|
+
"jquery@^1.8.3 || ^2.0 || ^3.0", jquery@^3.2.1:
|
101
99
|
version "3.2.1"
|
102
100
|
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787"
|
103
101
|
integrity sha1-XE2d5lKvbNCncBVKYxu6ErAVx4c=
|