load indicator module
This commit is contained in:
parent
cbe68047f5
commit
75b3d0adc9
6 changed files with 95 additions and 34 deletions
15
app/index.js
15
app/index.js
|
@ -1,15 +1,2 @@
|
|||
'use strict'
|
||||
|
||||
let loadIndicator = require('./view/load-indicator')
|
||||
|
||||
function ComicBook () {
|
||||
return {
|
||||
replace (selector) {
|
||||
console.log(selector, loadIndicator())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO properly export in various formats
|
||||
window.ComicBook = ComicBook
|
||||
window.ComicBook = require('./comic-book')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue