Cleaned npm ignore

This commit is contained in:
euvl
2017-04-05 11:42:40 +01:00
parent 3d9c97722f
commit 8cfe6735c6
6 changed files with 11 additions and 12 deletions

View File

@@ -1,3 +1 @@
examples
_config.yml
webpack.*

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Examples</title>
<title>Vue Modal Examples</title>
</head>
<body>
<div id="app"></div>

View File

@@ -7,7 +7,7 @@
},
"dependencies": {
"vue": "^2.0.0",
"vue-js-modal": "*"
"vue-js-modal": "^1.0.11"
},
"devDependencies": {
"babel-core": "^6.0.0",

11
dist/index.js vendored
View File

@@ -9748,7 +9748,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
var VueModal = {
var ModalPlugin = {
install: function install(Vue) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -9758,10 +9758,10 @@ var VueModal = {
var $modal = {
show: function show(name, params) {
VueModal.event.$emit('toggle', name, true, params);
ModalPlugin.event.$emit('toggle', name, true, params);
},
hide: function hide(name, params) {
VueModal.event.$emit('toggle', name, false, params);
ModalPlugin.event.$emit('toggle', name, false, params);
}
};
@@ -9776,9 +9776,9 @@ var VueModal = {
}
};
__WEBPACK_IMPORTED_MODULE_0_vue__["a" /* default */].use(VueModal);
__WEBPACK_IMPORTED_MODULE_0_vue__["a" /* default */].use(ModalPlugin);
/* harmony default export */ __webpack_exports__["default"] = VueModal;
/* harmony default export */ __webpack_exports__["default"] = ModalPlugin;
/***/ }),
/* 5 */
@@ -10033,7 +10033,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
//
//
//
//
/* harmony default export */ __webpack_exports__["default"] = {
name: 'Resizer',

View File

@@ -1,7 +1,7 @@
{
"name": "vue-js-modal",
"description": "Modal Component for Vue.js",
"version": "1.0.10",
"version": "1.0.11",
"author": "euvl <yev.vlasenko@gmail.com>",
"main": "dist/index.js",
"repository": {

View File

@@ -25,4 +25,6 @@ const ModalPlugin = {
},
}
Vue.use(ModalPlugin)
export default ModalPlugin