Josh's public fiddles
-
t7xb2erL
No-Library (pure JS), HTML, CSS, TypeScript
-
8ts02ubn
No-Library (pure JS), HTML, SCSS, TypeScript
-
List Splitter
for a list of people, removes any with the given name, returning them into a new list. modifies the existing list.
-
https://stackoverflow.com/q/22343437/3123195
A method for finding an inner object within an array of outer objects. Returns the found item, or undefined.
-
https://stackoverflow.com/q/50240946/3123195
https://stackoverflow.com/q/50240946/3123195
-
Cracking Simple DES
CSIS 463: Project 2, Exercise 2: Cracking Simple DES
-
Simple DES
CSIS 463: Project 1, Exercise 2: Simple DES
-
toNgEqual custom Jasmine matcher
toNgEqual is a matcher that compares objects using angular.equals, and returns meaningful output on failure.
-
Various getters
Three different ways of creating a getter in JS. Only the object-literal method creates the getter as enumerable by default.
-
Angular $resource interceptor limitation
Angular's $resource returns the requested data as soon as the initial response is received - even if the interceptor hasn't completed. The promise doesn't resolve until the proper time, though.
-
asyncSubmit/asyncClick
Extension of ngSubmit/ngClick with support to prevent double submission
-
http://stackoverflow.com/a/39659325/3123195
$q.all() doesn't wait for all promises
-
angular ui-router bug(?)
Angular ui-router causes an infinite digest error when the first state loaded when the page renders is blocked by a rejected resolve block. It calls the resolve function repeatedly.
-
3stwu09v
No-Library (pure JS), HTML, CSS, JavaScript
-
promises are hard
a complicated promise conundrum
-
js-data, angular, and jasmine
No-Library (pure JS), HTML, CSS, JavaScript
-
friendlyDate filter
filter to show friendly text for dates in the future, relevant to the current date.
-
daysBetween function
Function to calculate integer count of days between a given date and the current date in the local time zone.
-
angular ui-router playground
No-Library (pure JS), HTML, CSS, JavaScript
-
boolModel directive
Directive to convert the type of data saved by ng-model for booleans.