06 2017 档案

摘要:1. options, emulateJSON: true 2. FormData reference: https://github.com/pagekit/vue-resource/issues/267 阅读全文
posted @ 2017-06-29 11:25 xiaoroad 编辑
摘要:var handler = this.handleBarcode.bind(this); window.addEventListener('scroll', handler, true); window.removeEventListener('scroll', handler, true); 阅读全文
posted @ 2017-06-28 14:38 xiaoroad 编辑
摘要:Vue.filter([filterName], function (value) { // return ......;}); component中this.$options.filters[filterName]() 阅读全文
posted @ 2017-06-15 10:02 xiaoroad 编辑
摘要:function reflect(promise){ return promise.then(function(v){ return {v:v, status: "resolved" }}, function(e){ return {e:e, status: "rejected" }}); } var promises = [promise1, promise2, promise3];... 阅读全文
posted @ 2017-06-14 12:28 xiaoroad 编辑
摘要:Loading from node_modules Folders If the module identifier passed to require() is not a core module, and does not begin with '/', '../', or './', then 阅读全文
posted @ 2017-06-07 11:14 xiaoroad 编辑