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
*.json |
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
#!/usr/bin/env node | |
var path = require('path'); | |
var watch = require('node-watch'); | |
var parseArgs = require('minimist'); | |
var argv = parseArgs(process.argv.slice(2)); | |
var exec = require('child_process').spawn; | |
var trimNewLine = /\s+$/; | |
require('colors'); |
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
After do |scenario| | |
if(scenario.failed?) | |
$stdout.print "\n[Fail] #{scenario.exception.message}\n----------\n" | |
system("tail -r -100 \"#{ENV['HOME']}/Library/Logs/iOS Simulator/7.0.3/system.log\" | grep -A1000 Error -i -m1") | |
$stdout.print "----------\n" | |
end | |
unless @calabash_launcher.calabash_no_stop? | |
calabash_exit | |
if @calabash_launcher.active? | |
@calabash_launcher.stop |
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
/** | |
* We are using page.js for client routing. | |
* We are using zombie.js as a headless browser during testing. | |
* | |
* zombie.js traps the click event of an A element and prevents it from bubbling up to the window. | |
* page.js listens for 'click' on window to determine location routing. | |
* | |
* As such, they conflict and setup for changing location within a SAP within a test will return a 404. | |
* Load this in as a patch for zombie within a feature module that requires a change to the location. | |
*/ |
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
define(['jquery', 'SomeAMDModel'], function($, modelFactory) { | |
var model = modelFactory.create(); | |
$(model).on('property-change', function(event) { | |
console.log( 'propertyChange: ' + JSON.stringify( event, null, 4 ) ); | |
}); | |
model.name = 'Rescue Pack!'; | |
return model; |
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
package | |
{ | |
import flash.events.Event; | |
import mx.events.FlexEvent; | |
import spark.components.Group; | |
/** | |
* Use the deferredElements property as the modifier that is handed the list of IVisualElements defined in MXML. |
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
/** | |
* <p>Original Author: toddanderson</p> | |
* <p>Class File: LinkedListIterator.as</p> | |
* <p>Version: 0.1</p> | |
* | |
* <p>Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
NewerOlder