2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < title > ApplicationCacheController - StructureJS</ title >
5
+ < title > ApplicationCacheService - StructureJS</ title >
6
6
< link rel ="stylesheet " href ="../assets/vendor/prettify/prettify-min.css ">
7
7
< link rel ="stylesheet " href ="../assets/css/main.css " id ="site_styles ">
8
8
< link rel ="shortcut icon " type ="image/png " href ="../assets/favicon.png ">
16
16
< div class ="project-title ">
17
17
18
18
19
- < h1 class ="project-name "> StructureJS</ h1 > < span class ="project-version "> 0.12.7 </ span >
19
+ < h1 class ="project-name "> StructureJS</ h1 > < span class ="project-version "> 0.13.0 </ span >
20
20
21
21
22
22
< p class ="description "> A class based utility library for building modular and scalable web platform applications. Features opt-in classes and utilities which provide a solid foundation and toolset to build your next project.</ p >
@@ -45,10 +45,10 @@ <h1 class="project-name">StructureJS</h1> <span class="project-version">0.12.7</
45
45
< div id ="api-tabview-panel ">
46
46
< ul id ="api-classes " class ="apis classes ">
47
47
48
- < li > < a class ="type " href ="../classes/ApplicationCacheController.html "> ApplicationCacheController</ a > </ li >
49
-
50
48
< li > < a class ="type " href ="../classes/ApplicationCacheEvent.html "> ApplicationCacheEvent</ a > </ li >
51
49
50
+ < li > < a class ="type " href ="../classes/ApplicationCacheService.html "> ApplicationCacheService</ a > </ li >
51
+
52
52
< li > < a class ="type " href ="../classes/BaseEvent.html "> BaseEvent</ a > </ li >
53
53
54
54
< li > < a class ="type " href ="../classes/BaseModel.html "> BaseModel</ a > </ li >
@@ -83,10 +83,10 @@ <h1 class="project-name">StructureJS</h1> <span class="project-version">0.12.7</
83
83
84
84
< li > < a class ="type " href ="../classes/LoaderEvent.html "> LoaderEvent</ a > </ li >
85
85
86
- < li > < a class ="type " href ="../classes/LocalStorageController.html "> LocalStorageController</ a > </ li >
87
-
88
86
< li > < a class ="type " href ="../classes/LocalStorageEvent.html "> LocalStorageEvent</ a > </ li >
89
87
88
+ < li > < a class ="type " href ="../classes/LocalStorageService.html "> LocalStorageService</ a > </ li >
89
+
90
90
< li > < a class ="type " href ="../classes/MathUtil.html "> MathUtil</ a > </ li >
91
91
92
92
< li > < a class ="type " href ="../classes/MerchantUtil.html "> MerchantUtil</ a > </ li >
@@ -150,15 +150,15 @@ <h1 class="project-name">StructureJS</h1> <span class="project-version">0.12.7</
150
150
151
151
< div id ="docs-main " class ="apidocs ">
152
152
< div class ="content container ">
153
- < h1 > ApplicationCacheController Class</ h1 >
153
+ < h1 > ApplicationCacheService Class</ h1 >
154
154
< div class ="box meta ">
155
155
156
156
157
157
158
158
159
159
160
160
< div class ="foundat ">
161
- Defined in: < a href ="../files/js_controller_ApplicationCacheController .js.html#l12 "> < code > js/controller /ApplicationCacheController .js:12</ code > </ a >
161
+ Defined in: < a href ="../files/js_service_ApplicationCacheService .js.html#l12 "> < code > js/service /ApplicationCacheService .js:12</ code > </ a >
162
162
</ div >
163
163
164
164
@@ -175,7 +175,7 @@ <h1>ApplicationCacheController Class</h1>
175
175
176
176
177
177
< div class ="box intro ">
178
- < p > The ApplicationCacheController is a static class works with the window applicationCache object.</ p >
178
+ < p > The ApplicationCacheService is a static class works with the window applicationCache object.</ p >
179
179
180
180
</ div >
181
181
@@ -400,7 +400,7 @@ <h3 class="name"><code>_appCache</code>
400
400
401
401
402
402
403
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l241 "> < code > js/controller /ApplicationCacheController .js:241</ code > </ a >
403
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l241 "> < code > js/service /ApplicationCacheService .js:241</ code > </ a >
404
404
405
405
</ p >
406
406
@@ -454,7 +454,7 @@ <h3 class="name"><code>_eventDispatcher</code>
454
454
455
455
456
456
457
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l250 "> < code > js/controller /ApplicationCacheController .js:250</ code > </ a >
457
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l250 "> < code > js/service /ApplicationCacheService .js:250</ code > </ a >
458
458
459
459
</ p >
460
460
@@ -508,7 +508,7 @@ <h3 class="name"><code>isEnabled</code>
508
508
509
509
510
510
511
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l259 "> < code > js/controller /ApplicationCacheController .js:259</ code > </ a >
511
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l259 "> < code > js/service /ApplicationCacheService .js:259</ code > </ a >
512
512
513
513
</ p >
514
514
@@ -600,7 +600,7 @@ <h3 class="name"><code>_onCached</code>
600
600
601
601
602
602
603
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l83 "> < code > js/controller /ApplicationCacheController .js:83</ code > </ a >
603
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l83 "> < code > js/service /ApplicationCacheService .js:83</ code > </ a >
604
604
605
605
</ p >
606
606
@@ -700,7 +700,7 @@ <h3 class="name"><code>_onChecking</code>
700
700
701
701
702
702
703
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l96 "> < code > js/controller /ApplicationCacheController .js:96</ code > </ a >
703
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l96 "> < code > js/service /ApplicationCacheService .js:96</ code > </ a >
704
704
705
705
</ p >
706
706
@@ -801,7 +801,7 @@ <h3 class="name"><code>_onDownloading</code>
801
801
802
802
803
803
804
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l110 "> < code > js/controller /ApplicationCacheController .js:110</ code > </ a >
804
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l110 "> < code > js/service /ApplicationCacheService .js:110</ code > </ a >
805
805
806
806
</ p >
807
807
@@ -901,7 +901,7 @@ <h3 class="name"><code>_onError</code>
901
901
902
902
903
903
904
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l123 "> < code > js/controller /ApplicationCacheController .js:123</ code > </ a >
904
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l123 "> < code > js/service /ApplicationCacheService .js:123</ code > </ a >
905
905
906
906
</ p >
907
907
@@ -1001,7 +1001,7 @@ <h3 class="name"><code>_onNoUpdate</code>
1001
1001
1002
1002
1003
1003
1004
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l136 "> < code > js/controller /ApplicationCacheController .js:136</ code > </ a >
1004
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l136 "> < code > js/service /ApplicationCacheService .js:136</ code > </ a >
1005
1005
1006
1006
</ p >
1007
1007
@@ -1100,7 +1100,7 @@ <h3 class="name"><code>_onObsolete</code>
1100
1100
1101
1101
1102
1102
1103
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l148 "> < code > js/controller /ApplicationCacheController .js:148</ code > </ a >
1103
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l148 "> < code > js/service /ApplicationCacheService .js:148</ code > </ a >
1104
1104
1105
1105
</ p >
1106
1106
@@ -1200,7 +1200,7 @@ <h3 class="name"><code>_onProgress</code>
1200
1200
1201
1201
1202
1202
1203
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l161 "> < code > js/controller /ApplicationCacheController .js:161</ code > </ a >
1203
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l161 "> < code > js/service /ApplicationCacheService .js:161</ code > </ a >
1204
1204
1205
1205
</ p >
1206
1206
@@ -1300,7 +1300,7 @@ <h3 class="name"><code>_onUpdateReady</code>
1300
1300
1301
1301
1302
1302
1303
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l174 "> < code > js/controller /ApplicationCacheController .js:174</ code > </ a >
1303
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l174 "> < code > js/service /ApplicationCacheService .js:174</ code > </ a >
1304
1304
1305
1305
</ p >
1306
1306
@@ -1416,7 +1416,7 @@ <h3 class="name"><code>addEventListener</code>
1416
1416
1417
1417
1418
1418
1419
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l187 "> < code > js/controller /ApplicationCacheController .js:187</ code > </ a >
1419
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l187 "> < code > js/service /ApplicationCacheService .js:187</ code > </ a >
1420
1420
1421
1421
</ p >
1422
1422
@@ -1429,7 +1429,7 @@ <h3 class="name"><code>addEventListener</code>
1429
1429
< div class ="extended-detail ">
1430
1430
1431
1431
< div class ="description ">
1432
- < p > Registers an event listener object with an ApplicationCacheController object so that the listener receives notification of an event.</ p >
1432
+ < p > Registers an event listener object with an ApplicationCacheService object so that the listener receives notification of an event.</ p >
1433
1433
1434
1434
</ div >
1435
1435
@@ -1515,7 +1515,7 @@ <h4>Parameters:</h4>
1515
1515
< h4 > Example:</ h4 >
1516
1516
1517
1517
< div class ="example-content ">
1518
- < pre class ="code prettyprint "> < code > ApplicationCacheController .addEventListener(ApplicationCacheEvent.UPDATE_READY, this._handlerMethod, this);
1518
+ < pre class ="code prettyprint "> < code > ApplicationCacheService .addEventListener(ApplicationCacheEvent.UPDATE_READY, this._handlerMethod, this);
1519
1519
_handlerMethod(event) {
1520
1520
console.log(event.target + " sent the event.");
1521
1521
}</ code > </ pre >
@@ -1574,7 +1574,7 @@ <h3 class="name"><code>dispatchEvent</code>
1574
1574
1575
1575
1576
1576
1577
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l224 "> < code > js/controller /ApplicationCacheController .js:224</ code > </ a >
1577
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l224 "> < code > js/service /ApplicationCacheService .js:224</ code > </ a >
1578
1578
1579
1579
</ p >
1580
1580
@@ -1587,7 +1587,7 @@ <h3 class="name"><code>dispatchEvent</code>
1587
1587
< div class ="extended-detail ">
1588
1588
1589
1589
< div class ="description ">
1590
- < p > Dispatches an event within the ApplicationCacheController object.</ p >
1590
+ < p > Dispatches an event within the ApplicationCacheService object.</ p >
1591
1591
</ div >
1592
1592
1593
1593
@@ -1625,10 +1625,10 @@ <h4>Example:</h4>
1625
1625
1626
1626
< div class ="example-content ">
1627
1627
< pre class ="code prettyprint "> < code > let event = new ApplicationCacheEvent(ApplicationCacheEvent.UPDATE_READY);
1628
- ApplicationCacheController .dispatchEvent(event);
1628
+ ApplicationCacheService .dispatchEvent(event);
1629
1629
1630
1630
// Here is a common inline event being dispatched
1631
- ApplicationCacheController .dispatchEvent(new ApplicationCacheEvent(ApplicationCacheEvent.UPDATE_READY));</ code > </ pre >
1631
+ ApplicationCacheService .dispatchEvent(new ApplicationCacheEvent(ApplicationCacheEvent.UPDATE_READY));</ code > </ pre >
1632
1632
1633
1633
</ div >
1634
1634
</ div >
@@ -1696,7 +1696,7 @@ <h3 class="name"><code>removeEventListener</code>
1696
1696
1697
1697
1698
1698
1699
- < a href ="../files/js_controller_ApplicationCacheController .js.html#l206 "> < code > js/controller /ApplicationCacheController .js:206</ code > </ a >
1699
+ < a href ="../files/js_service_ApplicationCacheService .js.html#l206 "> < code > js/service /ApplicationCacheService .js:206</ code > </ a >
1700
1700
1701
1701
</ p >
1702
1702
@@ -1709,7 +1709,7 @@ <h3 class="name"><code>removeEventListener</code>
1709
1709
< div class ="extended-detail ">
1710
1710
1711
1711
< div class ="description ">
1712
- < p > Removes a specified listener from the ApplicationCacheController object.</ p >
1712
+ < p > Removes a specified listener from the ApplicationCacheService object.</ p >
1713
1713
1714
1714
</ div >
1715
1715
@@ -1760,7 +1760,7 @@ <h4>Parameters:</h4>
1760
1760
1761
1761
1762
1762
< div class ="param-description ">
1763
- < p > The scope of the listener object to be removed. This was added because it was need for the < a href ="../classes/ApplicationCacheController .html " class ="crosslink "> ApplicationCacheController </ a > class.
1763
+ < p > The scope of the listener object to be removed. This was added because it was need for the < a href ="../classes/ApplicationCacheService .html " class ="crosslink "> ApplicationCacheService </ a > class.
1764
1764
To keep things consistent this parameter is required.</ p >
1765
1765
1766
1766
</ div >
@@ -1779,7 +1779,7 @@ <h4>Parameters:</h4>
1779
1779
< h4 > Example:</ h4 >
1780
1780
1781
1781
< div class ="example-content ">
1782
- < pre class ="code prettyprint "> < code > ApplicationCacheController .removeEventListener(ApplicationCacheEvent.UPDATE_READY, this._handlerMethod, this);
1782
+ < pre class ="code prettyprint "> < code > ApplicationCacheService .removeEventListener(ApplicationCacheEvent.UPDATE_READY, this._handlerMethod, this);
1783
1783
_handlerMethod(event) {
1784
1784
console.log(event.target + " sent the event.");
1785
1785
}</ code > </ pre >
0 commit comments