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.puremvc.as3.multicore.utilities.lazy.interfaces | |
{ | |
import flash.events.IEventDispatcher; | |
public interface IFacadeAdapter | |
{ | |
function getFQCN(clazz:Class):QName; | |
function startup(eventBus:IEventDispatcher, startupCommandClass:Class = null, autoMediateCommandClass:Class = null):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
package org.robotlegs.variance | |
{ | |
public interface IPackageFilters | |
{ | |
/** | |
* Registers a package name to check against in <code>applyFilters()</code>. | |
* | |
* @see IPackageFilters#applyFilters | |
*/ | |
function registerPackageFilter(packageFilter:String):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
package | |
{ | |
import flash.display.*; | |
import flash.text.engine.*; | |
import org.tinytlf.layout.*; | |
import org.tinytlf.layout.properties.LayoutProperties; | |
import org.tinytlf.util.fte.ContentElementUtil; | |
[SWF(width="500", height="300")] |
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 | |
{ | |
public class MyService | |
{ | |
[Inject] | |
public var session:ISession; | |
private var startedSignal:ISignal; | |
public function startMyService():ISignal | |
{ |
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.tinytlf.html | |
{ | |
import flash.utils.getTimer; | |
import org.tinytlf.*; | |
public class CSS extends Styleable | |
{ | |
[Embed(source = "default.css", mimeType = "application/octet-stream")] | |
private const defaultCSS:Class; |
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 embeds.*; | |
import flash.display.*; | |
import org.swiftsuspenders.*; | |
import org.tinytlf.*; | |
import org.tinytlf.html.*; | |
import org.tinytlf.util.TagSoup; |
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
class OnlineConcaveMinima | |
values = [] | |
indices = [0] | |
finished = 0 | |
matrix = (i, j) -> 0 | |
base = 0 | |
tentative = 0 | |
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
fs = require 'fs' | |
path = require 'path' | |
{exec} = require 'child_process' | |
# Make sure we have our dependencies | |
try | |
colors = require 'colors' | |
coffee = require 'coffee-script' | |
browserify = require 'browserify' | |
catch error |
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
merge = [].concat | |
expand = (fn, context) -> (args) -> fn.apply context, args.slice 0, fn.length | |
obs1 = Rx.Observable.returnValue(1) | |
obs2 = Rx.Observable.returnValue(2) | |
obs3 = Rx.Observable.returnValue(3) | |
combined = obs1.combineLatest(obs2, merge).combineLatest(obs3, merge) | |
combined.subscribe expand (o1, o2, o3) -> o1 + o2 + o3 |
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.tinytlf.fn | |
{ | |
import raix.interactive.toEnumerable; | |
/** | |
* @author ptaylor | |
*/ | |
public function pipe(...functions):Function { | |
return function(...args):* { | |
return toEnumerable(functions).reduce(args, function(args:Array, func:Function):Array { |