File: examples/dummies/script1.js

Recommend this page to a friend!
  Classes of Thomas Björk  >  JS and CSS Resource Loader  >  examples/dummies/script1.js  >  Download  
File: examples/dummies/script1.js
Role: Auxiliary script
Content type: text/plain
Description: Example script
Class: JS and CSS Resource Loader
Load cached JavaScript and CSS from localStorage
Author: By
Last change: Added sessionStorage as a cache engine
Added options.loadedFrom
Changed the options.cache to only be used to indicate if the cache should be used or not. The name of the cache key is moved to options.cacheName
Added options as an argument to the options.complete callback and the options.test callback
Updated the readme
New name and added style loading
Date: 1 month ago
Size: 38 bytes
 

Contents

Class file image Download
var dummyObject = {
  dummyVar: true
}