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
[ | |
{ | |
"created_at": "Tue Apr 15 23:26:00 +0000 2014", | |
"id": 456211869691154400, | |
"id_str": "456211869691154432", | |
"text": "@zrail Congrats. I think that is close to the highest I've ever heard of.", | |
"source": "<a href="http://itunes.apple.com/us/app/twitter/id409789998?mt=12" rel="nofollow">Twitter for Mac</a>", | |
"truncated": false, | |
"in_reply_to_status_id": 456211742448566300, | |
"in_reply_to_status_id_str": "456211742448566272", |
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
import flash.display.DisplayObjectContainer; | |
import flash.system.ApplicationDomain; | |
import org.robotlegs.base.SignalCommandMap; | |
import org.robotlegs.core.IInjector; | |
import org.robotlegs.core.ISignalCommandMap; | |
import org.robotlegs.core.ISignalContext; | |
import org.robotlegs.utilities.modular.mvcs.ModuleContext; |
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
//in draw() - the label bits were throwing an error with | |
//standard value objects with a toString complaining that | |
//there was no label property before it hit the else. | |
//I thought the string test was repetitive, since the | |
//_data.toString() covers that too, but the property check | |
//is what let me compile my app. | |
if(_data.hasOwnProperty("label") && _data["label"] is String) | |
{ | |
_label.text = _data.label; | |
} |
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 org.robotlegs.utilities.remote | |
{ | |
import com.adobe.serializers.json.JSONDecoder; | |
import mx.collections.ArrayCollection; | |
public class JsonRemoteService extends RemoteServiceBase | |
{ | |
public function JsonRemoteService(rootURL:String = "") | |
{ |
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
<?xml version="1.0"?> | |
<!-- Parsley Configuration --> | |
<mx:Object xmlns:mx="http://www.adobe.com/2006/mxml" | |
xmlns:chain="http://spicefactory.org/parsley/chain"> | |
<mx:Script><![CDATA[ | |
import events.* | |
import commands.*; | |
]]> | |
</mx:Script> |
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
[Test] | |
public function command_dispatches_completed_when_all_sync_commands_complete():void | |
{ | |
var command:CompositeSignalCommand = getCompositeSignalCommandWithThreeSubCommands(); | |
var completedSignal:Signal = strict(Signal); | |
mock(completedSignal).method("dispatch").once(); | |
stub(completedSignal).method("removeAll"); | |
command.completed = completedSignal; | |
command.execute(); |
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
[Test] | |
public function command_dispatches_completed_when_all_sync_commands_complete():void | |
{ | |
var command:CompositeSignalCommand = getCompositeSignalCommandWithThreeSubCommands(); | |
var completedSignal:VerifyDispatchSignal = new VerifyDispatchSignal(); | |
command.completed = completedSignal; | |
command.execute(); | |
assertThat(completedSignal.dispatched, isTrue()); |
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
[Test] | |
public function toParamObject_returnsGenericObjectWithCorrectPropertyValues_objectIsEqual():void | |
{ | |
var paramObject:Object; | |
var task:Task = new Task("testTask"); | |
task.description = "task description"; | |
task.statusId = 1; | |
task.taskId = 1; | |
paramObject = task.toParamObject(); |
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
import com.probertson.data.QueuedStatement; | |
public interface ISQLRunnerDelegate | |
{ | |
function get numConnections():int; | |
function get connectionErrorHandler():Function; | |
function set connectionErrorHandler(value:Function):void; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<scheme name="DarkWorks" version="1" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_SIZE" value="18" /> | |
<option name="EDITOR_FONT_NAME" value="Anonymous Pro" /> | |
<colors> | |
<option name="ANNOTATIONS_COLOR" value="58a0d6" /> | |
<option name="CARET_COLOR" value="cccccc" /> | |
<option name="CARET_ROW_COLOR" value="270f2f" /> | |
<option name="GUTTER_BACKGROUND" value="f0f0f" /> |
OlderNewer