Skip to content

Commit

Permalink
v1.0.0-beta.2 - add built files
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Aug 3, 2019
1 parent d715937 commit 0f1d967
Show file tree
Hide file tree
Showing 197 changed files with 44,299 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.

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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/calcite/p-05cd1ccb.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-3ea8955c.js

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

Loading

0 comments on commit 0f1d967

Please sign in to comment.