Skip to content

Commit

Permalink
v0.0.0-alpha.1 - add built files
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed May 24, 2019
1 parent 0359fd5 commit 2131586
Show file tree
Hide file tree
Showing 102 changed files with 15,210 additions and 0 deletions.
27 changes: 27 additions & 0 deletions dist/calcite.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

(function(doc){
var scriptElm = doc.scripts[doc.scripts.length - 1];
var warn = ['[calcite] Deprecated script, please remove: ' + scriptElm.outerHTML];

warn.push('To improve performance it is recommended to set the differential scripts in the head as follows:')

var parts = scriptElm.src.split('/');
parts.pop();
parts.push('calcite');
var url = parts.join('/');

var scriptElm = doc.createElement('script');
scriptElm.setAttribute('type', 'module');
scriptElm.src = url + '/calcite.esm.js';
doc.head.appendChild(scriptElm);
warn.push(scriptElm.outerHTML);

scriptElm = doc.createElement('script');
scriptElm.setAttribute('nomodule', '');
scriptElm.src = url + '/calcite.js';
doc.head.appendChild(scriptElm);
warn.push(scriptElm.outerHTML);

console.warn(warn.join('\n'));

})(document);
1 change: 1 addition & 0 deletions dist/calcite/calcite.css

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

1 change: 1 addition & 0 deletions dist/calcite/calcite.esm.js

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

810 changes: 810 additions & 0 deletions dist/calcite/calcite.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/calcite/p-1563a874.system.js

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

1 change: 1 addition & 0 deletions dist/calcite/p-229ebf7a.js

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

1 change: 1 addition & 0 deletions dist/calcite/p-258l18yq.system.entry.js

Large diffs are not rendered by default.

Loading

0 comments on commit 2131586

Please sign in to comment.