/* ========================================================================
* Automator.js v0.1.1
* A minimal JavaScript library for automating practically anything
* in Javascript.
*
* Copyright (c) 2013 Matt Brophy (brophy.org)
* https://github.com/brophdawg11/Automator.js
*
* Author: Matt Brophy
* Website: http://www.brophy.org/
*
* Released under the MIT license
* https://github.com/brophdawg11/Automator.js/blob/master/LICENSE
* ------------------------------------------------------------------------ */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {