Skip to content

Commit

Permalink
Merge branch '3.0-develop' into lit-html
Browse files Browse the repository at this point in the history
  • Loading branch information
t2ym committed Jan 6, 2019
2 parents 596f115 + 29831ce commit fdc34c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions demo/poc/elements/i18n-thin-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ $_documentContainer.innerHTML = `<template id="i18n-thin-element">

document.head.appendChild($_documentContainer.content);
Define = class I18nThinElement extends Mixins.Logger(BaseElements.I18nElement) {
static get importMeta() {
return import.meta;
}
}
3 changes: 3 additions & 0 deletions demo/poc_preprocess/elements/i18n-thin-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ $_documentContainer.innerHTML = `<template id="i18n-thin-element" basepath="elem

document.head.appendChild($_documentContainer.content);
Define = class I18nThinElement extends Mixins.Logger(BaseElements.I18nElement) {
static get importMeta() {
return import.meta;
}
}
2 changes: 1 addition & 1 deletion test/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ gulp.task('i18n', () => {
});

gulp.task('i18n-attr-repo.html', function () {
return gulp.src([ '../i18n-attr-repo.js' ])
return gulp.src([ '../node_modules/i18n-behavior/i18n-attr-repo.js' ])
.pipe(through.obj(function (file, enc, callback) {
let htmlTemplate = `<!-- temporary HTML --><link rel="import" href="../../../i18n-element.html"><innerHTML><dom-module>`;
let code = stripBom(String(file.contents));
Expand Down

0 comments on commit fdc34c5

Please sign in to comment.