This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Backbone.ContainerView 0.0.1 | |
// (c) 2013 Uzi Kilon, Okta Inc. | |
// Backbone.ContainerView may be freely distributed under the MIT license. | |
// For all details and documentation: | |
// https://github.com/uzikilon/Backbone.ContainerView | |
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['underscore', 'backbone'], function (_, Backbone) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require:false,console:false,phantom:false */ | |
/*jshint maxstatements:13,maxcomplexity:3 */ | |
var system = require('system'); | |
var page = require('webpage').create(); | |
page.onConsoleMessage = function(msg) { | |
console.log(msg); | |
}; | |
if (system.args.length != 2) { | |
console.log('Usage: phantomjs phantomjs-test-runner.js URL'); |