Friday, August 29, 2014

A Plunk, AngularJS, and What's Your Worldview?

Check out my initial go at AngularJS on Plunker. I recently read the booklet, What's Your Worldview?: An Interactive Approach to Life's Big Questions by James N. Anderson. What is my what? Everyone has a worldview. It may not be clear just what that perspective may be.

The book is structured in a "Choose Your Own Adventure" style where the reader can move to certain sections based on an answer to a question. This page takes you quickly through those questions and answers.

My thinking was that a single-page app would suit this style best. Enjoy!

Thursday, August 28, 2014

Example Custom Jasmine Matcher

Was needing to do a comparison of array items and the order was not important. Creating a custom Jasmine matcher made the test creation more effective.
Here is the JSFiddle of the code: