Patrick's public fiddles
-
Weird constructor
wrapping a class in parenteses does the same as calling its constructor
-
Delayed Form Submit
Simple JS example for submitting a form with two seconds delay
-
edit search request
https://fisheye.corp.mobile.de/cru/CRMBL-1803
-
soy namespace
No-Library (pure JS), HTML, CSS, JavaScript
-
hover my neighbor
No-Library (pure JS), HTML, CSS, JavaScript
-
Ember-Book, Classes and Inheritance
No-Library (pure JS), HTML, CSS, JavaScript
-
Repleacement for Prototype toQueryParams
jQuery Compat (edge), HTML, CSS, JavaScript
-
AM/PM
Convert a date string with AM/PM format to a JavaScript Date object
-
Wait for Element
jQuery Compat (edge), HTML, CSS, JavaScript
-
Wait for Element
jQuery Compat (edge), HTML, CSS, JavaScript
-
Simulate typing into input field
Demo how to simulate user entering text into an input field, to be used in e.g. in Jasmine tests that check if controlling user input works properly
-
Encode Checkboxes Comma Separated
jQuery Compat (edge), HTML, CSS, JavaScript
-
Pub/Sub with jQuery Callbacks and Deferred
https://api.jquery.com/jQuery.Callbacks/
-
Making Promises
jQuery Compat (edge), HTML, CSS, JavaScript
-
Pub/Sub with jQuery Callbacks
https://api.jquery.com/jQuery.Callbacks/
-
attribute set?
jQuery Compat (edge), HTML, CSS, JavaScript
-
Git Visualization
Visualize age and number of commits of code artifacts on a canvas
-
Adding parameter to link on click
jQuery 1.10.1, HTML, CSS, JavaScript
-
Trim String
Simple snippet showing how to trim a string. http://stackoverflow.com/questions/498970/how-do-i-trim-a-string-in-javascript
-
Instantiate Date Object
There's a catch to creating a date using the Date object's contructor: the time zone. This snippet shows how it's done