weex-plugin-weex-action-sheet
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"platform": [ | ||
@@ -4,0 +4,0 @@ "ios", |
@@ -324,3 +324,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
) | ||
Component.options.__file = "/Users/ali-130257n/www/weex-actionSheet/web/src/vue/action-sheet.vue" | ||
Component.options.__file = "/Users/ali-130257n/www/weex-action-sheet/web/src/vue/action-sheet.vue" | ||
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key !== "__esModule"})) {console.error("named exports are not supported in *.vue files.")} | ||
@@ -336,5 +336,5 @@ if (Component.options.functional) {console.error("[vue-loader] action-sheet.vue: functional components are not supported with templates, they should use render functions.")} | ||
if (!module.hot.data) { | ||
hotAPI.createRecord("data-v-18fee04b", Component.options) | ||
hotAPI.createRecord("data-v-c4699e00", Component.options) | ||
} else { | ||
hotAPI.reload("data-v-18fee04b", Component.options) | ||
hotAPI.reload("data-v-c4699e00", Component.options) | ||
} | ||
@@ -858,3 +858,3 @@ })()} | ||
if (module.hot.data) { | ||
require("vue-hot-reload-api").rerender("data-v-18fee04b", module.exports) | ||
require("vue-hot-reload-api").rerender("data-v-c4699e00", module.exports) | ||
} | ||
@@ -874,3 +874,3 @@ } | ||
// add the styles to the DOM | ||
var update = __webpack_require__(13)("188935cc", content, false); | ||
var update = __webpack_require__(13)("0d91a00e", content, false); | ||
// Hot Module Replacement | ||
@@ -880,4 +880,4 @@ if(false) { | ||
if(!content.locals) { | ||
module.hot.accept("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-18fee04b!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./action-sheet.vue", function() { | ||
var newContent = require("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-18fee04b!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./action-sheet.vue"); | ||
module.hot.accept("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-c4699e00!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./action-sheet.vue", function() { | ||
var newContent = require("!!./../../../node_modules/css-loader/index.js!./../../../node_modules/vue-loader/lib/style-rewriter.js?id=data-v-c4699e00!./../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./action-sheet.vue"); | ||
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; | ||
@@ -1188,4 +1188,2 @@ update(newContent); | ||
create: function create(options, callbackID) { | ||
var _this = this; | ||
var defaultOPtions = { | ||
@@ -1205,12 +1203,9 @@ title: '提示', | ||
if (typeof callbackID === 'function') { | ||
(function () { | ||
var self = _this; | ||
opts.callback = function (res) { | ||
self.sender.performCallback(callbackID, res); | ||
}; | ||
})(); | ||
var self = this; | ||
opts.callback = function (res) { | ||
self.sender.performCallback(callbackID, res); | ||
}; | ||
} | ||
var ActionSheet = null; | ||
if (window.Vue) { | ||
console.log(window.Vue); | ||
ActionSheet = Vue.extend(_actionSheet2.default); | ||
@@ -1230,2 +1225,6 @@ } else { | ||
if (window.Vue) { | ||
weex.registerModule('actionSheet', actionSheet); | ||
} | ||
function init(weex) { | ||
@@ -1232,0 +1231,0 @@ weex.registerApiModule('actionSheet', actionSheet, _meta2.default); |
@@ -45,2 +45,6 @@ // weex-actionSheet-web | ||
if(window.Vue) { | ||
weex.registerModule('actionSheet', actionSheet); | ||
} | ||
function init(weex) { | ||
@@ -47,0 +51,0 @@ weex.registerApiModule('actionSheet', actionSheet, meta); |
Sorry, the diff of this file is not supported yet
476106
1327