1+ module . exports =
2+ /******/ ( function ( modules ) { // webpackBootstrap
3+ /******/ // The module cache
4+ /******/ var installedModules = { } ;
5+
6+ /******/ // The require function
7+ /******/ function __webpack_require__ ( moduleId ) {
8+
9+ /******/ // Check if module is in cache
10+ /******/ if ( installedModules [ moduleId ] )
11+ /******/ return installedModules [ moduleId ] . exports ;
12+
13+ /******/ // Create a new module (and put it into the cache)
14+ /******/ var module = installedModules [ moduleId ] = {
15+ /******/ exports : { } ,
16+ /******/ id : moduleId ,
17+ /******/ loaded : false
18+ /******/ } ;
19+
20+ /******/ // Execute the module function
21+ /******/ modules [ moduleId ] . call ( module . exports , module , module . exports , __webpack_require__ ) ;
22+
23+ /******/ // Flag the module as loaded
24+ /******/ module . loaded = true ;
25+
26+ /******/ // Return the exports of the module
27+ /******/ return module . exports ;
28+ /******/ }
29+
30+
31+ /******/ // expose the modules object (__webpack_modules__)
32+ /******/ __webpack_require__ . m = modules ;
33+
34+ /******/ // expose the module cache
35+ /******/ __webpack_require__ . c = installedModules ;
36+
37+ /******/ // __webpack_public_path__
38+ /******/ __webpack_require__ . p = "" ;
39+
40+ /******/ // Load entry module and return exports
41+ /******/ return __webpack_require__ ( 0 ) ;
42+ /******/ } )
43+ /************************************************************************/
44+ /******/ ( [
45+ /* 0 */
46+ /***/ function ( module , exports ) {
47+
48+ 'use strict' ;
49+
50+ var _createClass = function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ( ) ;
51+
52+ Object . defineProperty ( exports , "__esModule" , {
53+ value : true
54+ } ) ;
55+
56+ function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
57+
58+ /* global Dicoogle */
59+
60+ var MyPlugin = function ( ) {
61+ function MyPlugin ( ) {
62+ _classCallCheck ( this , MyPlugin ) ;
63+ }
64+ // TODO initialize plugin here
65+
66+ /**
67+ * @param {DOMElement } parent
68+ * @param {DOMElement } slot
69+ */
70+
71+ _createClass ( MyPlugin , [ {
72+ key : 'render' ,
73+ value : function render ( parent , slot ) {
74+ // TODO mount a new web component here
75+ var div = document . createElement ( 'div' ) ;
76+ div . innerHTML = 'Hello, Dicoogle!' ;
77+ parent . appendChild ( div ) ;
78+ }
79+ } ] ) ;
80+
81+ return MyPlugin ;
82+ } ( ) ;
83+
84+ exports . default = MyPlugin ;
85+
86+ /***/ }
87+ /******/ ] ) ;
0 commit comments