Skip to content

Commit

Permalink
Major Bump @vanillaes/interpolate
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed May 11, 2021
1 parent 499ea1a commit f17309b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"postversion": "git push --follow-tags"
},
"devDependencies": {
"@vanillaes/interpolate": "^1.4.0",
"@vanillaes/interpolate": "^2.0.4",
"esmtk": "^0.5.6"
},
"standard": {
Expand Down
4 changes: 2 additions & 2 deletions src/wc-sortable-table.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint no-undef: 0 */
import Interpolate from '../node_modules/@vanillaes/interpolate/index.js'
import { interpolate } from '../node_modules/@vanillaes/interpolate/index.js'

export class WCSortableTable extends HTMLElement {
static get observedAttributes () {
Expand Down Expand Up @@ -58,7 +58,7 @@ export class WCSortableTable extends HTMLElement {
async getTheme () {
const path = this.getAttribute('theme')
const contents = await this.fetchTheme(path)
return Interpolate(contents)
return interpolate(contents)
}

async fetchTheme (src) {
Expand Down

0 comments on commit f17309b

Please sign in to comment.