BumbleB2na's public fiddles
-
9vcz3
Mootools 1.4.5, HTML, CSS, JavaScript
-
AdU66
jQuery 1.7.2, HTML, CSS, JavaScript
-
Global object
Store reference to the Global object (DOMWindow object). The new method of doing so, which is cross-environment.. works on ECMA5-strict mode which was breaking past methods.
-
Global object
Store reference to the Global object (DOMWindow object). The new method of doing so, which is cross-environment.. works on ECMA5-strict mode which was breaking past methods.
-
ktmpy
jQuery 1.7.1, HTML, CSS, JavaScript
-
JS Decorator Pattern
Example of Decorator Design Pattern in JavaScript used to "decorate" an instance of a class with method overrides.
-
JS Mixin Design Pattern
Example of using Mixin Design Pattern in JavaScript to augment a Car class with inherited Mixin class methods.
-
JS Factory Pattern
Basic example of the Factory Design Pattern in JavaScript, which can come in useful if the object instantiation process becomes complex (such as heavy reliance on config file properties), or when you need to generate different instances depending on the environment, or when working with many small objects that share the same properties.
-
JS Factory Pattern
Basic example of the Factory Design Pattern in JavaScript, which can come in useful if the object instantiation process becomes complex (such as heavy reliance on config file properties)
-
JS Command Pattern
Example of the Command Design Pattern in JavaScript. Car Manager object is decoupled from the program by using an execute method, which accepts any process requests from the CarManager object where the contents of the request include model and carID.
-
RYQ7W
No-Library (pure JS), HTML, CSS, JavaScript
-
b6mjY
No-Library (pure JS), HTML, CSS, JavaScript
-
eMScR
Mootools 1.4.2, HTML, CSS, JavaScript
-
html input dynamic width resizer
html input element that stretches dynamically as the user types, if text goes beyond the initial width of the element.
-
Javascript Design Patterns Test 3
Basic Example of Module Pattern and newer Revealing Module Pattern, the most popular ways to emulate a object-oriented class that has private and public members and methods.
-
Javascript Design Patterns Test 2
Basic example of using Singleton Pattern to get a single instance of a class. An advanced Singleton Pattern could be useful for a top-level self-executing anonymous function that controls other patterns within an application.
-
Javascript Design Patterns Test 1
Basic example of Constructor and Prototype Design Patterns in JS.
-
NUpHQ
jQuery 1.7.1, HTML, CSS, JavaScript
-
n5dD6
jQuery 1.7.1, HTML, CSS, JavaScript
-
VAuYx
jQuery 1.6.4, HTML, CSS, JavaScript