Dan's public fiddles
-
48eq7rcs
No-Library (pure JS), HTML, CSS, JavaScript
-
JS Test
jQuery 2.1.0, HTML, CSS, JavaScript
-
V18n demo
Demonstrates localization using v18n
-
Rubberband demo
Demonstrtes how LiveTemplate works with replacements, events, and serialization
-
Poodle Tutorial
Sample code for fetching JSON API data & static images. Dempnstrates the evented nature of Poodle.
-
rv7W2
No-Library (pure JS), HTML, CSS, JavaScript
-
Complex sntls Tree query
Explains how version 0.16.2 simplifies complex queries.
-
Testing with Troop
Demonstrates mock method application & removal with Troop.
-
Jorder tutorial
Simple table queries illustrating the use of Jorder
-
Gj7Uq
No-Library (pure JS), HTML, CSS, JavaScript
-
Index-based anagram search
No-Library (pure JS), HTML, CSS, JavaScript
-
Evan example
Sample code for event management with evan (https://github.com/danstocker/evan)
-
Sntls data manipulation example
No-Library (pure JS), HTML, CSS, JavaScript
-
Surrogate classes in Troop
Demonstrates use of surrogate classes for instantiating derived classes through base class Other resources: http://jsfiddle.net/danstocker/n5jze/ http://jsfiddle.net/danstocker/YR374/ https://github.com/production-minds/troop
-
Total control text editor
jQuery 1.8.3, HTML, CSS, JavaScript
-
Postponed property definitions with Troop
Basic example for troop.postpone(). Postponed properties don't get evaluated until first access.
-
Hop distribution
Distribution of hop probability within a Prime graph depending on node distance. https://github.com/danstocker/prime
-
Learning app
Prime association engine - based sample learning app
-
Prime tutorial
Sample code for the Prime association engine. Sets up a graph of words then establishes connections in between, and performs 1000 hops from the word 'table'. Finally, displays how many times each word was a hop destination.
-
Simple array element check
Verifies whether an item is in the array.