Skip to content

Commit

Permalink
prepare 1.0.0-rc.1 (#237)
Browse files Browse the repository at this point in the history
* v1.0.0-rc.1
* update /docs
  • Loading branch information
Viktor Lukashov authored Jul 20, 2018
1 parent 693610a commit 7abd431
Show file tree
Hide file tree
Showing 20 changed files with 406 additions and 409 deletions.
4 changes: 2 additions & 2 deletions analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -1125,11 +1125,11 @@
"metadata": {},
"sourceRange": {
"start": {
"line": 1809,
"line": 2351,
"column": 32
},
"end": {
"line": 1817,
"line": 2359,
"column": 1
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/vaadin-router/analysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -1125,11 +1125,11 @@
"metadata": {},
"sourceRange": {
"start": {
"line": 1809,
"line": 2351,
"column": 32
},
"end": {
"line": 1817,
"line": 2359,
"column": 1
}
},
Expand Down
12 changes: 6 additions & 6 deletions docs/vaadin-router/demo/demo-shell.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/vaadin-router/demo/iframe.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/vaadin-router/demo/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/vaadin-router/index.html

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions docs/webcomponentsjs/custom-elements-es5-adapter.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
(function () {
'use strict';

(()=>{'use strict';if(!window.customElements)return;const a=window.HTMLElement,b=window.customElements.define,c=window.customElements.get,d=new Map,e=new Map;let f=!1,g=!1;window.HTMLElement=function(){if(!f){const a=d.get(this.constructor),b=c.call(window.customElements,a);g=!0;const e=new b;return e}f=!1;},window.HTMLElement.prototype=a.prototype;Object.defineProperty(window,'customElements',{value:window.customElements,configurable:!0,writable:!0}),Object.defineProperty(window.customElements,'define',{value:(c,h)=>{const i=h.prototype,j=class extends a{constructor(){super(),Object.setPrototypeOf(this,i),g||(f=!0,h.call(this)),g=!1;}},k=j.prototype;j.observedAttributes=h.observedAttributes,k.connectedCallback=i.connectedCallback,k.disconnectedCallback=i.disconnectedCallback,k.attributeChangedCallback=i.attributeChangedCallback,k.adoptedCallback=i.adoptedCallback,d.set(h,c),e.set(c,h),b.call(window.customElements,c,j);},configurable:!0,writable:!0}),Object.defineProperty(window.customElements,'get',{value:(a)=>e.get(a),configurable:!0,writable:!0});})();

/**
@license
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
(function () {
'use strict';

(()=>{'use strict';if(!window.customElements)return;const a=window.HTMLElement,b=window.customElements.define,c=window.customElements.get,d=new Map,e=new Map;let f=!1,g=!1;window.HTMLElement=function(){if(!f){const a=d.get(this.constructor),b=c.call(window.customElements,a);g=!0;const e=new b;return e}f=!1;},window.HTMLElement.prototype=a.prototype;Object.defineProperty(window,'customElements',{value:window.customElements,configurable:!0,writable:!0}),Object.defineProperty(window.customElements,'define',{value:(c,h)=>{const i=h.prototype,j=class extends a{constructor(){super(),Object.setPrototypeOf(this,i),g||(f=!0,h.call(this)),g=!1;}},k=j.prototype;j.observedAttributes=h.observedAttributes,k.connectedCallback=i.connectedCallback,k.disconnectedCallback=i.disconnectedCallback,k.attributeChangedCallback=i.attributeChangedCallback,k.adoptedCallback=i.adoptedCallback,d.set(h,c),e.set(c,h),b.call(window.customElements,c,j);},configurable:!0,writable:!0}),Object.defineProperty(window.customElements,'get',{value:(a)=>e.get(a),configurable:!0,writable:!0});})();

}());
22 changes: 10 additions & 12 deletions docs/webcomponentsjs/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const del = require('del');
const runseq = require('run-sequence');
const closure = require('google-closure-compiler').gulp();
const babel = require('rollup-plugin-babel');
const license = require('rollup-plugin-license');

function debugify(sourceName, fileName, extraRollupOptions) {
if (!fileName)
Expand Down Expand Up @@ -150,23 +151,20 @@ gulp.task('closurify-sd', () => {
return closurify('webcomponents-sd')
})

function singleLicenseComment() {
let hasLicense = false;
return (comment) => {
if (hasLicense) {
return false;
}
return hasLicense = /@license/.test(comment);
}
}

const babelOptions = {
presets: 'minify',
shouldPrintComment: singleLicenseComment()
};

gulp.task('debugify-ce-es5-adapter', () => {
return debugify('custom-elements-es5-adapter', '', {plugins: [babel(babelOptions)]});
return debugify('custom-elements-es5-adapter', '', {
plugins: [
babel(babelOptions),
license({
banner: {
file: './license-header.txt'
}
})
]});
});

gulp.task('default', ['closure']);
Expand Down
Loading

0 comments on commit 7abd431

Please sign in to comment.