Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit 0aada8f

Browse files
committed
0.13.0
1 parent d4cb47a commit 0aada8f

File tree

95 files changed

+4243
-4251
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+4243
-4251
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ _onClickHandler(event) {
252252

253253
## Release History
254254

255+
* 2016-08-26 v0.13.0 Rename ApplicationCacheController to ApplicationCacheService and move to service directory. Rename LocalStorageController to LocalStorageService and move to service directory. Move Router to service directory.
256+
255257
* 2016-08-20 v0.12.8 Router - Add Router to npm index file.
256258

257259
* 2016-08-19 v0.12.7 Router - Add HTML History API to the Router Class.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "structurejs",
3-
"version": "0.12.8",
3+
"version": "0.13.0",
44
"dependencies": {
55
"jquery": "*",
66
"handlebars": "*"

docs/api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
YUI.add("yuidoc-meta", function(Y) {
22
Y.YUIDoc = { meta: {
33
"classes": [
4-
"ApplicationCacheController",
54
"ApplicationCacheEvent",
5+
"ApplicationCacheService",
66
"BaseEvent",
77
"BaseModel",
88
"BaseObject",
@@ -20,8 +20,8 @@ YUI.add("yuidoc-meta", function(Y) {
2020
"Extend",
2121
"ImageLoader",
2222
"LoaderEvent",
23-
"LocalStorageController",
2423
"LocalStorageEvent",
24+
"LocalStorageService",
2525
"MathUtil",
2626
"MerchantUtil",
2727
"NetworkMonitor",
@@ -54,7 +54,7 @@ YUI.add("yuidoc-meta", function(Y) {
5454
{
5555
"displayName": "controller",
5656
"name": "controller",
57-
"description": "The ApplicationCacheController is a static class works with the window applicationCache object."
57+
"description": "The ApplicationCacheService is a static class works with the window applicationCache object."
5858
},
5959
{
6060
"displayName": "core",

docs/classes/ApplicationCacheEvent.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="project-title">
1717

1818

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>
2020

2121

2222
<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</
4545
<div id="api-tabview-panel">
4646
<ul id="api-classes" class="apis classes">
4747

48-
<li><a class="type" href="../classes/ApplicationCacheController.html">ApplicationCacheController</a></li>
49-
5048
<li><a class="type" href="../classes/ApplicationCacheEvent.html">ApplicationCacheEvent</a></li>
5149

50+
<li><a class="type" href="../classes/ApplicationCacheService.html">ApplicationCacheService</a></li>
51+
5252
<li><a class="type" href="../classes/BaseEvent.html">BaseEvent</a></li>
5353

5454
<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</
8383

8484
<li><a class="type" href="../classes/LoaderEvent.html">LoaderEvent</a></li>
8585

86-
<li><a class="type" href="../classes/LocalStorageController.html">LocalStorageController</a></li>
87-
8886
<li><a class="type" href="../classes/LocalStorageEvent.html">LocalStorageEvent</a></li>
8987

88+
<li><a class="type" href="../classes/LocalStorageService.html">LocalStorageService</a></li>
89+
9090
<li><a class="type" href="../classes/MathUtil.html">MathUtil</a></li>
9191

9292
<li><a class="type" href="../classes/MerchantUtil.html">MerchantUtil</a></li>

docs/classes/ApplicationCacheController.html renamed to docs/classes/ApplicationCacheService.html

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>ApplicationCacheController - StructureJS</title>
5+
<title>ApplicationCacheService - StructureJS</title>
66
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
77
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
88
<link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
@@ -16,7 +16,7 @@
1616
<div class="project-title">
1717

1818

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>
2020

2121

2222
<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</
4545
<div id="api-tabview-panel">
4646
<ul id="api-classes" class="apis classes">
4747

48-
<li><a class="type" href="../classes/ApplicationCacheController.html">ApplicationCacheController</a></li>
49-
5048
<li><a class="type" href="../classes/ApplicationCacheEvent.html">ApplicationCacheEvent</a></li>
5149

50+
<li><a class="type" href="../classes/ApplicationCacheService.html">ApplicationCacheService</a></li>
51+
5252
<li><a class="type" href="../classes/BaseEvent.html">BaseEvent</a></li>
5353

5454
<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</
8383

8484
<li><a class="type" href="../classes/LoaderEvent.html">LoaderEvent</a></li>
8585

86-
<li><a class="type" href="../classes/LocalStorageController.html">LocalStorageController</a></li>
87-
8886
<li><a class="type" href="../classes/LocalStorageEvent.html">LocalStorageEvent</a></li>
8987

88+
<li><a class="type" href="../classes/LocalStorageService.html">LocalStorageService</a></li>
89+
9090
<li><a class="type" href="../classes/MathUtil.html">MathUtil</a></li>
9191

9292
<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</
150150

151151
<div id="docs-main" class="apidocs">
152152
<div class="content container">
153-
<h1>ApplicationCacheController Class</h1>
153+
<h1>ApplicationCacheService Class</h1>
154154
<div class="box meta">
155155

156156

157157

158158

159159

160160
<div class="foundat">
161-
Defined in: <a href="../files/js_controller_ApplicationCacheController.js.html#l12"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:12</code></a>
161+
Defined in: <a href="../files/js_service_ApplicationCacheService.js.html#l12"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:12</code></a>
162162
</div>
163163

164164

@@ -175,7 +175,7 @@ <h1>ApplicationCacheController Class</h1>
175175

176176

177177
<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>
179179

180180
</div>
181181

@@ -400,7 +400,7 @@ <h3 class="name"><code>_appCache</code>
400400

401401

402402

403-
<a href="../files/js_controller_ApplicationCacheController.js.html#l241"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:241</code></a>
403+
<a href="../files/js_service_ApplicationCacheService.js.html#l241"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:241</code></a>
404404

405405
</p>
406406

@@ -454,7 +454,7 @@ <h3 class="name"><code>_eventDispatcher</code>
454454

455455

456456

457-
<a href="../files/js_controller_ApplicationCacheController.js.html#l250"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:250</code></a>
457+
<a href="../files/js_service_ApplicationCacheService.js.html#l250"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:250</code></a>
458458

459459
</p>
460460

@@ -508,7 +508,7 @@ <h3 class="name"><code>isEnabled</code>
508508

509509

510510

511-
<a href="../files/js_controller_ApplicationCacheController.js.html#l259"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:259</code></a>
511+
<a href="../files/js_service_ApplicationCacheService.js.html#l259"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:259</code></a>
512512

513513
</p>
514514

@@ -600,7 +600,7 @@ <h3 class="name"><code>_onCached</code>
600600

601601

602602

603-
<a href="../files/js_controller_ApplicationCacheController.js.html#l83"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:83</code></a>
603+
<a href="../files/js_service_ApplicationCacheService.js.html#l83"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:83</code></a>
604604

605605
</p>
606606

@@ -700,7 +700,7 @@ <h3 class="name"><code>_onChecking</code>
700700

701701

702702

703-
<a href="../files/js_controller_ApplicationCacheController.js.html#l96"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:96</code></a>
703+
<a href="../files/js_service_ApplicationCacheService.js.html#l96"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:96</code></a>
704704

705705
</p>
706706

@@ -801,7 +801,7 @@ <h3 class="name"><code>_onDownloading</code>
801801

802802

803803

804-
<a href="../files/js_controller_ApplicationCacheController.js.html#l110"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:110</code></a>
804+
<a href="../files/js_service_ApplicationCacheService.js.html#l110"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:110</code></a>
805805

806806
</p>
807807

@@ -901,7 +901,7 @@ <h3 class="name"><code>_onError</code>
901901

902902

903903

904-
<a href="../files/js_controller_ApplicationCacheController.js.html#l123"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:123</code></a>
904+
<a href="../files/js_service_ApplicationCacheService.js.html#l123"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:123</code></a>
905905

906906
</p>
907907

@@ -1001,7 +1001,7 @@ <h3 class="name"><code>_onNoUpdate</code>
10011001

10021002

10031003

1004-
<a href="../files/js_controller_ApplicationCacheController.js.html#l136"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:136</code></a>
1004+
<a href="../files/js_service_ApplicationCacheService.js.html#l136"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:136</code></a>
10051005

10061006
</p>
10071007

@@ -1100,7 +1100,7 @@ <h3 class="name"><code>_onObsolete</code>
11001100

11011101

11021102

1103-
<a href="../files/js_controller_ApplicationCacheController.js.html#l148"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:148</code></a>
1103+
<a href="../files/js_service_ApplicationCacheService.js.html#l148"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:148</code></a>
11041104

11051105
</p>
11061106

@@ -1200,7 +1200,7 @@ <h3 class="name"><code>_onProgress</code>
12001200

12011201

12021202

1203-
<a href="../files/js_controller_ApplicationCacheController.js.html#l161"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:161</code></a>
1203+
<a href="../files/js_service_ApplicationCacheService.js.html#l161"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:161</code></a>
12041204

12051205
</p>
12061206

@@ -1300,7 +1300,7 @@ <h3 class="name"><code>_onUpdateReady</code>
13001300

13011301

13021302

1303-
<a href="../files/js_controller_ApplicationCacheController.js.html#l174"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:174</code></a>
1303+
<a href="../files/js_service_ApplicationCacheService.js.html#l174"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:174</code></a>
13041304

13051305
</p>
13061306

@@ -1416,7 +1416,7 @@ <h3 class="name"><code>addEventListener</code>
14161416

14171417

14181418

1419-
<a href="../files/js_controller_ApplicationCacheController.js.html#l187"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:187</code></a>
1419+
<a href="../files/js_service_ApplicationCacheService.js.html#l187"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:187</code></a>
14201420

14211421
</p>
14221422

@@ -1429,7 +1429,7 @@ <h3 class="name"><code>addEventListener</code>
14291429
<div class="extended-detail">
14301430

14311431
<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>
14331433

14341434
</div>
14351435

@@ -1515,7 +1515,7 @@ <h4>Parameters:</h4>
15151515
<h4>Example:</h4>
15161516

15171517
<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);
15191519
_handlerMethod(event) {
15201520
console.log(event.target + &quot; sent the event.&quot;);
15211521
}</code></pre>
@@ -1574,7 +1574,7 @@ <h3 class="name"><code>dispatchEvent</code>
15741574

15751575

15761576

1577-
<a href="../files/js_controller_ApplicationCacheController.js.html#l224"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:224</code></a>
1577+
<a href="../files/js_service_ApplicationCacheService.js.html#l224"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:224</code></a>
15781578

15791579
</p>
15801580

@@ -1587,7 +1587,7 @@ <h3 class="name"><code>dispatchEvent</code>
15871587
<div class="extended-detail">
15881588

15891589
<div class="description">
1590-
<p>Dispatches an event within the ApplicationCacheController object.</p>
1590+
<p>Dispatches an event within the ApplicationCacheService object.</p>
15911591
</div>
15921592

15931593

@@ -1625,10 +1625,10 @@ <h4>Example:</h4>
16251625

16261626
<div class="example-content">
16271627
<pre class="code prettyprint"><code> let event = new ApplicationCacheEvent(ApplicationCacheEvent.UPDATE_READY);
1628-
ApplicationCacheController.dispatchEvent(event);
1628+
ApplicationCacheService.dispatchEvent(event);
16291629

16301630
// 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>
16321632

16331633
</div>
16341634
</div>
@@ -1696,7 +1696,7 @@ <h3 class="name"><code>removeEventListener</code>
16961696

16971697

16981698

1699-
<a href="../files/js_controller_ApplicationCacheController.js.html#l206"><code>js&#x2F;controller&#x2F;ApplicationCacheController.js:206</code></a>
1699+
<a href="../files/js_service_ApplicationCacheService.js.html#l206"><code>js&#x2F;service&#x2F;ApplicationCacheService.js:206</code></a>
17001700

17011701
</p>
17021702

@@ -1709,7 +1709,7 @@ <h3 class="name"><code>removeEventListener</code>
17091709
<div class="extended-detail">
17101710

17111711
<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>
17131713

17141714
</div>
17151715

@@ -1760,7 +1760,7 @@ <h4>Parameters:</h4>
17601760

17611761

17621762
<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.
17641764
To keep things consistent this parameter is required.</p>
17651765

17661766
</div>
@@ -1779,7 +1779,7 @@ <h4>Parameters:</h4>
17791779
<h4>Example:</h4>
17801780

17811781
<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);
17831783
_handlerMethod(event) {
17841784
console.log(event.target + &quot; sent the event.&quot;);
17851785
}</code></pre>

docs/classes/BaseEvent.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div class="project-title">
1717

1818

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>
2020

2121

2222
<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</
4545
<div id="api-tabview-panel">
4646
<ul id="api-classes" class="apis classes">
4747

48-
<li><a class="type" href="../classes/ApplicationCacheController.html">ApplicationCacheController</a></li>
49-
5048
<li><a class="type" href="../classes/ApplicationCacheEvent.html">ApplicationCacheEvent</a></li>
5149

50+
<li><a class="type" href="../classes/ApplicationCacheService.html">ApplicationCacheService</a></li>
51+
5252
<li><a class="type" href="../classes/BaseEvent.html">BaseEvent</a></li>
5353

5454
<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</
8383

8484
<li><a class="type" href="../classes/LoaderEvent.html">LoaderEvent</a></li>
8585

86-
<li><a class="type" href="../classes/LocalStorageController.html">LocalStorageController</a></li>
87-
8886
<li><a class="type" href="../classes/LocalStorageEvent.html">LocalStorageEvent</a></li>
8987

88+
<li><a class="type" href="../classes/LocalStorageService.html">LocalStorageService</a></li>
89+
9090
<li><a class="type" href="../classes/MathUtil.html">MathUtil</a></li>
9191

9292
<li><a class="type" href="../classes/MerchantUtil.html">MerchantUtil</a></li>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy