輕量級 JavaScript 框架,Vue.js 1.0.17 發布

jopen 8年前發布 | 7K 次閱讀

? Vue.js 1.0.17 發布,輕量級 JavaScript 框架

Vue.js 1.0.17 發布,更新如下:

New

  • v-for now also supports using of as the delimiter:

    <div v-for="item of items"></div>
  • The internal transition API is now exposed on Vue.transition. For example this function will be exposed as Vue.transition.applyTransition. For example usage, see v-show's source code.

  • Vue.config.convertAllProperties is now enabled by default, and this config option has been removed.

  • keyCode aliases are now exposed as Vue.directive('on').keyCodes.

Fixed

  • #2278 allow expressions for literal values in root instance props

  • #2287 fix transition hooks call context to be consistent with compilation scope rules

  • #2291 fix CSP build minification error

  • #2297 avoid implicit reference to global variables (fix usage in NW.js)

  • #2300 fix currency filter negative number display

  • #2305 fix multiple activate hooks merging

  • #2312 fix named/default slot distribution when a slot is passed down as content to a child

  • #2345 improve real custom element detection to avoid unnecessary warnings

  • #2348 fix slot with v-if fallback compilation scope

  • #2364 fix expression parsing with ES6 template strings (note: this only fixes the expression parsing, it still depends on whether the browser natively supports ES6 template strings)

  • #2366 fix custom terminal directive with global mixin (@rhyzx)

  • #2393 fix observing objects with enumerable but non-configurable properties (@saul)

  • #2396 fix SVG element transition detection in Chrome

  • #2400 fix v-model with debounce value not immediately synced on form submission

  • #2406 fix SVG element fragment linker caching in IE

  • #2407 fix v-bind value for non-boolean enumerable attributes that expects "true" or "false"values, e.g. draggable

  • #2411 null or undefined should not trigger type check warning for a non-required prop

來自: http://www.oschina.net//news/71094/vue-js-1-0-17

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!