vuejs 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9b884d876ff204b6d451015e5c943802e5de94c
4
- data.tar.gz: ab4add787fb074248a2c9b964a6e6300e0bc9eff
3
+ metadata.gz: 35cc0574531cf578c2a4c17ba481c8a995e0e64b
4
+ data.tar.gz: 0eb7c790bd6fb881528a093927d607e25e2c1f08
5
5
  SHA512:
6
- metadata.gz: 1a3792ed517447ecffcb0a3289604de7e1871e7203fd1842a19df30cf0068cf40f3990dedc2ef813f346ca50528126e80c74edd47a0c9b042798bade34dca933
7
- data.tar.gz: e25ae465a8759d64d04e40c7265d4e2328a8258bf421ed909eb2ed96bd02f60e6b42f10b028b7e5dd05f87cf941743689c950ba3ebb5b122e213a955d5284a5c
6
+ metadata.gz: 4298bd0e5f57c2a2cc246f47ad28e80ca1a9c35cc37e24ab240215102715f4ca25da1c41fa6842edde2060300d8272aaebfd749424e5a2f6e58cf0f7c2d0e148
7
+ data.tar.gz: f89c58b398ab03d10a66477cd46ae1d6a8afa253d3e204d4d209b17a44afa410ea589c62e38e70655c2ce488edda133d85bdcebea206dd54ffe92c2afb6ceb0d
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Vuejs ships with the latest [Vue.js + router + resource](http://vuejs.org/) and integrate with Rails' asset pipeline. Vue.js is created by Evan You.
4
4
 
5
- The current version is Vue.js (v1.0.21) + vue-router (v0.7.13) + vue-resource (v0.7.0)
5
+ The current version is Vue.js (v1.0.24) + vue-router (v0.7.13) + vue-resource (v0.7.0)
6
6
 
7
7
  > Reactive Components for Modern Web Interfaces
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Vuejs
2
- VERSION = "1.0.23"
2
+ VERSION = "1.0.24"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vue.js v1.0.22
2
+ * Vue.js v1.0.24
3
3
  * (c) 2016 Evan You
4
4
  * Released under the MIT License.
5
5
  */
@@ -1140,8 +1140,9 @@ var transition = Object.freeze({
1140
1140
  */
1141
1141
 
1142
1142
  function inDoc(node) {
1143
- var doc = document.documentElement;
1144
- var parent = node && node.parentNode;
1143
+ if (!node) return false;
1144
+ var doc = node.ownerDocument.documentElement;
1145
+ var parent = node.parentNode;
1145
1146
  return doc === node || doc === parent || !!(parent && parent.nodeType === 1 && doc.contains(parent));
1146
1147
  }
1147
1148
 
@@ -3015,19 +3016,26 @@ var expression = Object.freeze({
3015
3016
  */
3016
3017
 
3017
3018
  function flushBatcherQueue() {
3018
- runBatcherQueue(queue);
3019
- queue.length = 0;
3020
- runBatcherQueue(userQueue);
3021
- // user watchers triggered more internal watchers
3022
- if (queue.length) {
3019
+ var _again = true;
3020
+
3021
+ _function: while (_again) {
3022
+ _again = false;
3023
+
3023
3024
  runBatcherQueue(queue);
3025
+ runBatcherQueue(userQueue);
3026
+ // user watchers triggered more watchers,
3027
+ // keep flushing until it depletes
3028
+ if (queue.length) {
3029
+ _again = true;
3030
+ continue _function;
3031
+ }
3032
+ // dev tool hook
3033
+ /* istanbul ignore if */
3034
+ if (devtools && config.devtools) {
3035
+ devtools.emit('flush');
3036
+ }
3037
+ resetBatcherState();
3024
3038
  }
3025
- // dev tool hook
3026
- /* istanbul ignore if */
3027
- if (devtools && config.devtools) {
3028
- devtools.emit('flush');
3029
- }
3030
- resetBatcherState();
3031
3039
  }
3032
3040
 
3033
3041
  /**
@@ -3053,6 +3061,7 @@ var expression = Object.freeze({
3053
3061
  }
3054
3062
  }
3055
3063
  }
3064
+ queue.length = 0;
3056
3065
  }
3057
3066
 
3058
3067
  /**
@@ -7765,7 +7774,7 @@ var template = Object.freeze({
7765
7774
  var node = nodes[i];
7766
7775
  if (isTemplate(node) && !node.hasAttribute('v-if') && !node.hasAttribute('v-for')) {
7767
7776
  parent.removeChild(node);
7768
- node = parseTemplate(node);
7777
+ node = parseTemplate(node, true);
7769
7778
  }
7770
7779
  frag.appendChild(node);
7771
7780
  }
@@ -10001,7 +10010,7 @@ var template = Object.freeze({
10001
10010
 
10002
10011
  installGlobalAPI(Vue);
10003
10012
 
10004
- Vue.version = '1.0.22';
10013
+ Vue.version = '1.0.24';
10005
10014
 
10006
10015
  // devtools global hook
10007
10016
  /* istanbul ignore next */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vuejs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Lim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-08 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler