(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#JavaScript Unit Testing Tips and Tricks#
###Please add your your tips and tricks for unit testing JavaScript as comments to this gist. I'll pull them into the main text and credit your contribution.###
describe and it methods)| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>author</key> | |
| <string>Jacob Rus</string> | |
| <key>comment</key> | |
| <string>Created by Jacob Rus. Based on ‘Slate’ by Wilson Miner</string> | |
| <key>name</key> | |
| <string>Cowboy - Presentation</string> |
| // Helpers | |
| // ------- | |
| // For slicing `arguments` in functions | |
| var slice = Array.prototype.slice; | |
| // Borrow the Backbone `extend` method so we can use it as needed | |
| Marionette.extend = Backbone.Model.extend; | |
| // A wrapper / shim for `Object.create`. Uses native `Object.create` |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)