7
7
exports [ "vue-esc" ] = factory ( ) ;
8
8
else
9
9
root [ "vue-esc" ] = factory ( ) ;
10
- } ) ( this , function ( ) {
10
+ } ) ( window , function ( ) {
11
11
return /******/ ( function ( modules ) { // webpackBootstrap
12
12
/******/ // The module cache
13
13
/******/ var installedModules = { } ;
@@ -43,18 +43,35 @@ return /******/ (function(modules) { // webpackBootstrap
43
43
/******/ // expose the module cache
44
44
/******/ __webpack_require__ . c = installedModules ;
45
45
/******/
46
- /******/ // identity function for calling harmony imports with the correct context
47
- /******/ __webpack_require__ . i = function ( value ) { return value ; } ;
48
- /******/
49
46
/******/ // define getter function for harmony exports
50
47
/******/ __webpack_require__ . d = function ( exports , name , getter ) {
51
48
/******/ if ( ! __webpack_require__ . o ( exports , name ) ) {
52
- /******/ Object . defineProperty ( exports , name , {
53
- /******/ configurable : false ,
54
- /******/ enumerable : true ,
55
- /******/ get : getter
56
- /******/ } ) ;
49
+ /******/ Object . defineProperty ( exports , name , { enumerable : true , get : getter } ) ;
50
+ /******/ }
51
+ /******/ } ;
52
+ /******/
53
+ /******/ // define __esModule on exports
54
+ /******/ __webpack_require__ . r = function ( exports ) {
55
+ /******/ if ( typeof Symbol !== 'undefined' && Symbol . toStringTag ) {
56
+ /******/ Object . defineProperty ( exports , Symbol . toStringTag , { value : 'Module' } ) ;
57
57
/******/ }
58
+ /******/ Object . defineProperty ( exports , '__esModule' , { value : true } ) ;
59
+ /******/ } ;
60
+ /******/
61
+ /******/ // create a fake namespace object
62
+ /******/ // mode & 1: value is a module id, require it
63
+ /******/ // mode & 2: merge all properties of value into the ns
64
+ /******/ // mode & 4: return value when already ns object
65
+ /******/ // mode & 8|1: behave like require
66
+ /******/ __webpack_require__ . t = function ( value , mode ) {
67
+ /******/ if ( mode & 1 ) value = __webpack_require__ ( value ) ;
68
+ /******/ if ( mode & 8 ) return value ;
69
+ /******/ if ( ( mode & 4 ) && typeof value === 'object' && value && value . __esModule ) return value ;
70
+ /******/ var ns = Object . create ( null ) ;
71
+ /******/ __webpack_require__ . r ( ns ) ;
72
+ /******/ Object . defineProperty ( ns , 'default' , { enumerable : true , value : value } ) ;
73
+ /******/ if ( mode & 2 && typeof value != 'string' ) for ( var key in value ) __webpack_require__ . d ( ns , key , function ( key ) { return value [ key ] ; } . bind ( null , key ) ) ;
74
+ /******/ return ns ;
58
75
/******/ } ;
59
76
/******/
60
77
/******/ // getDefaultExport function for compatibility with non-harmony modules
@@ -72,20 +89,42 @@ return /******/ (function(modules) { // webpackBootstrap
72
89
/******/ // __webpack_public_path__
73
90
/******/ __webpack_require__ . p = "" ;
74
91
/******/
92
+ /******/
75
93
/******/ // Load entry module and return exports
76
- /******/ return __webpack_require__ ( __webpack_require__ . s = 1 ) ;
94
+ /******/ return __webpack_require__ ( __webpack_require__ . s = "./src/index.js" ) ;
77
95
/******/ } )
78
96
/************************************************************************/
79
- /******/ ( [
80
- /* 0 */
81
- /***/ ( function ( module , exports , __webpack_require__ ) {
97
+ /******/ ( {
98
+
99
+ /***/ "./src/index.js" :
100
+ /*!**********************!*\
101
+ !*** ./src/index.js ***!
102
+ \**********************/
103
+ /*! exports provided: default */
104
+ /***/ ( function ( module , __webpack_exports__ , __webpack_require__ ) {
82
105
83
106
"use strict" ;
107
+ __webpack_require__ . r ( __webpack_exports__ ) ;
108
+ /* harmony import */ var _vue_esc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__ ( /*! ./vue-esc */ "./src/vue-esc.js" ) ;
84
109
110
+ var plugin = {
111
+ install : function install ( Vue ) {
112
+ Vue . directive ( 'esc' , _vue_esc__WEBPACK_IMPORTED_MODULE_0__ [ "default" ] ) ;
113
+ }
114
+ } ;
115
+ /* harmony default export */ __webpack_exports__ [ "default" ] = ( plugin ) ;
85
116
86
- Object . defineProperty ( exports , "__esModule" , {
87
- value : true
88
- } ) ;
117
+ /***/ } ) ,
118
+
119
+ /***/ "./src/vue-esc.js" :
120
+ /*!************************!*\
121
+ !*** ./src/vue-esc.js ***!
122
+ \************************/
123
+ /*! exports provided: default */
124
+ /***/ ( function ( module , __webpack_exports__ , __webpack_require__ ) {
125
+
126
+ "use strict" ;
127
+ __webpack_require__ . r ( __webpack_exports__ ) ;
89
128
var vueEsc = { } ;
90
129
91
130
vueEsc . onEvent = function ( event ) {
@@ -95,7 +134,9 @@ vueEsc.onEvent = function (event) {
95
134
} ;
96
135
97
136
vueEsc . bind = function ( el ) {
98
- vueEsc . onEventBound = vueEsc . onEvent . bind ( { el : el } ) ;
137
+ vueEsc . onEventBound = vueEsc . onEvent . bind ( {
138
+ el : el
139
+ } ) ;
99
140
document . addEventListener ( 'keyup' , vueEsc . onEventBound ) ;
100
141
} ;
101
142
@@ -111,35 +152,9 @@ vueEsc.unbind = function () {
111
152
document . removeEventListener ( 'keyup' , vueEsc . onEventBound ) ;
112
153
} ;
113
154
114
- exports . default = vueEsc ;
115
- module . exports = exports [ 'default' ] ;
116
-
117
- /***/ } ) ,
118
- /* 1 */
119
- /***/ ( function ( module , exports , __webpack_require__ ) {
120
-
121
- "use strict" ;
122
-
123
-
124
- Object . defineProperty ( exports , "__esModule" , {
125
- value : true
126
- } ) ;
127
-
128
- var _vueEsc = __webpack_require__ ( 0 ) ;
129
-
130
- var _vueEsc2 = _interopRequireDefault ( _vueEsc ) ;
131
-
132
- function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
133
-
134
- var plugin = {
135
- install : function install ( Vue ) {
136
- Vue . directive ( 'esc' , _vueEsc2 . default ) ;
137
- }
138
- } ;
139
-
140
- exports . default = plugin ;
141
- module . exports = exports [ 'default' ] ;
155
+ /* harmony default export */ __webpack_exports__ [ "default" ] = ( vueEsc ) ;
142
156
143
157
/***/ } )
144
- /******/ ] ) ;
158
+
159
+ /******/ } ) ;
145
160
} ) ;
0 commit comments