Evan You 10 lat temu
rodzic
commit
e3523d7ed8
4 zmienionych plików z 16 dodań i 38 usunięć
  1. 7 18
      dist/vue.common.js
  2. 7 18
      dist/vue.js
  3. 1 1
      dist/vue.min.js
  4. 1 1
      src/index.js

+ 7 - 18
dist/vue.common.js

@@ -1,5 +1,5 @@
 /*!
- * Vue.js v1.0.23
+ * Vue.js v1.0.24
  * (c) 2016 Evan You
  * Released under the MIT License.
  */
@@ -1135,22 +1135,11 @@ function query(el) {
  * @return {Boolean}
  */
 
-function inDoc(node, win) {
-  win = win || window;
-  var doc = win.document.documentElement;
-  var parent = node && node.parentNode;
-  var isInDoc = doc === node || doc === parent || !!(parent && parent.nodeType === 1 && doc.contains(parent));
-  if (!isInDoc) {
-    var frames = win.frames;
-    if (frames) {
-      for (var i = 0; i < frames.length; i++) {
-        if (inDoc(node, frames[i])) {
-          return true;
-        }
-      }
-    }
-  }
-  return isInDoc;
+function inDoc(node) {
+  if (!node) return false;
+  var doc = node.ownerDocument.documentElement;
+  var parent = node.parentNode;
+  return doc === node || doc === parent || !!(parent && parent.nodeType === 1 && doc.contains(parent));
 }
 
 /**
@@ -10024,7 +10013,7 @@ function installGlobalAPI (Vue) {
 
 installGlobalAPI(Vue);
 
-Vue.version = '1.0.23';
+Vue.version = '1.0.24';
 
 // devtools global hook
 /* istanbul ignore next */

+ 7 - 18
dist/vue.js

@@ -1,5 +1,5 @@
 /*!
- * Vue.js v1.0.23
+ * Vue.js v1.0.24
  * (c) 2016 Evan You
  * Released under the MIT License.
  */
@@ -1139,22 +1139,11 @@ var transition = Object.freeze({
    * @return {Boolean}
    */
 
-  function inDoc(node, win) {
-    win = win || window;
-    var doc = win.document.documentElement;
-    var parent = node && node.parentNode;
-    var isInDoc = doc === node || doc === parent || !!(parent && parent.nodeType === 1 && doc.contains(parent));
-    if (!isInDoc) {
-      var frames = win.frames;
-      if (frames) {
-        for (var i = 0; i < frames.length; i++) {
-          if (inDoc(node, frames[i])) {
-            return true;
-          }
-        }
-      }
-    }
-    return isInDoc;
+  function inDoc(node) {
+    if (!node) return false;
+    var doc = node.ownerDocument.documentElement;
+    var parent = node.parentNode;
+    return doc === node || doc === parent || !!(parent && parent.nodeType === 1 && doc.contains(parent));
   }
 
   /**
@@ -10021,7 +10010,7 @@ var template = Object.freeze({
 
   installGlobalAPI(Vue);
 
-  Vue.version = '1.0.23';
+  Vue.version = '1.0.24';
 
   // devtools global hook
   /* istanbul ignore next */

Plik diff jest za duży
+ 1 - 1
dist/vue.min.js


+ 1 - 1
src/index.js

@@ -5,7 +5,7 @@ import config from './config'
 
 installGlobalAPI(Vue)
 
-Vue.version = '1.0.23'
+Vue.version = '1.0.24'
 
 export default Vue
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików