Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
17
assets/webapps/clock.gaiamobile.org/js/css.js
Normal file
17
assets/webapps/clock.gaiamobile.org/js/css.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
// Loader plugin for loading CSS. Does not guarantee loading via onload
|
||||
// watching, just inserts link tag.
|
||||
define({
|
||||
load: function(id, require, onload, config) {
|
||||
if (config.isBuild) {
|
||||
return onload();
|
||||
}
|
||||
|
||||
var link = document.createElement('link');
|
||||
link.type = 'text/css';
|
||||
link.rel = 'stylesheet';
|
||||
link.href = require.toUrl(id + '.css');
|
||||
link.addEventListener('load', onload, false);
|
||||
document.head.appendChild(link);
|
||||
}
|
||||
});
|
||||
Loading…
Reference in a new issue