storkCore

Check-in [849d2de981]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Changed tests/ to examples/ While these are used for testing as well, they serve as examples for other possible users too, and are not anyway built with any kind of test framework.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:849d2de9812950d8f66e5a2d829f12a7af634a72
User & Date: setok 2018-01-30 19:57:59
Context
2018-01-30
20:03
Remove irrelevant .gitignore file check-in: 7b84d26532 user: setok tags: trunk
19:57
Changed tests/ to examples/ While these are used for testing as well, they serve as examples for other possible users too, and are not anyway built with any kind of test framework. check-in: 849d2de981 user: setok tags: trunk
2018-01-29
15:30
Added push() to ListModel for pushing StorkModel objects directly. check-in: 5aecbe5f8e user: setok tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Name change from tests/cloneElement.html to examples/cloneElement.html.

Name change from tests/cloned.html to examples/cloned.html.

Name change from tests/images/christening.jpg to examples/images/christening.jpg.

cannot compute difference between binary files

Name change from tests/images/jris3.jpg to examples/images/jris3.jpg.

cannot compute difference between binary files

Name change from tests/images/ladies.jpg to examples/images/ladies.jpg.

cannot compute difference between binary files

Name change from tests/images/placeholder1.gif to examples/images/placeholder1.gif.

cannot compute difference between binary files

Name change from tests/images/placeholder2.gif to examples/images/placeholder2.gif.

cannot compute difference between binary files

Name change from tests/inheritance.html to examples/inheritance.html.

Name change from tests/keybinding.html to examples/keybinding.html.

Name change from tests/linkModelToHtmlView.html to examples/linkModelToHtmlView.html.

Name change from tests/list.html to examples/list.html.

Name change from tests/listTextContent.html to examples/listTextContent.html.

Name change from tests/listfiltered.html to examples/listfiltered.html.

Name change from tests/listoflists.html to examples/listoflists.html.

Changes to storkCore.js.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Set of routines and components to easily built dynamic, functional UIs
 * in Javascript.
 * It somewhat models itself after two concepts:
 *
 *  - Cocoa style MVC patterns with controllers, delegates and views.
 *  - Self-style prototype object orientation.
 *
 * As Javascript is a prototype object language a more Self-like object
 * model is suitable, and provides certain benefits over the glued on
 * class-based models often seen with Javascript. The main notion is that
 * any objects can be cloned to create new ones, with the clones inheriting
 * from their original object. One clear benefit is that the original
 * objects are real prototypes or templates: they can be used as-is,
 * thus offering neat testing. So, whie something like 'ClickViewSelect'
 * here is a widget that can be cloned to create new instances, it can also
 * be used directly.
 *
 * Author: Kristoffer Lawson, setok@scred.com, 2010
 *
 * This code is free to use and modify at will. Credit where due is
 * appreciated.
 */

// This variable should be set before loading StorkCore and gives the URL
// root where StorkCore scripts can be found. This is so the browser
// knows where to load them from.
// var StorkCoreRoot = "";






|
|







|
<
<

|

<
<







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


16
17
18


19
20
21
22
23
24
25
/*
 * Set of routines and components to easily built dynamic, functional UIs
 * in Javascript.
 * It somewhat models itself after two concepts:
 *
 *  - Classic MVC patterns with controllers, models and views.
 *  - Self-style prototype object orientation by cloning and no classes
 *
 * As Javascript is a prototype object language a more Self-like object
 * model is suitable, and provides certain benefits over the glued on
 * class-based models often seen with Javascript. The main notion is that
 * any objects can be cloned to create new ones, with the clones inheriting
 * from their original object. One clear benefit is that the original
 * objects are real prototypes or templates: they can be used as-is,
 * thus offering neat testing and prototyping.


 *
 * Author: Kristoffer Lawson, setok@setok.co, 2010-2018
 *


 */

// This variable should be set before loading StorkCore and gives the URL
// root where StorkCore scripts can be found. This is so the browser
// knows where to load them from.
// var StorkCoreRoot = "";