This file contains hidden or 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
<tr> | |
<td> | |
<ul> | |
<li kanban-cell | |
card-id="state.card" | |
ng-repeat="state in ctrl.game.states | filter:{column:'backlog'} " | |
ng-include="/boardcomponents/kanbancell.html"> | |
</li> | |
</ul> |
This file contains hidden or 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
library debounce; | |
Map timeouts = {}; | |
void debounce(int timeoutMS, Function target, List arguments) { | |
if(timeouts.containsKey(target)) { | |
timeouts[target].cancel(); | |
} | |
Timer timer = new Timer(new Duration(milliseconds: timeoutMS), () { |
This file contains hidden or 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 'package:angular/angular.dart'; | |
import 'package:js/js.dart' as js; | |
class CDNRewriter implements UrlRewriter { | |
String staticUrl; | |
CDNRewriter() { | |
var context = js.context; | |
staticUrl = js.context.STATIC_URL; | |
} |
This file contains hidden or 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
<div class="game_container" > | |
<game-timeline></game-timeline> | |
</div> |
This file contains hidden or 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
library loggermixins; | |
import 'package:logging/logging.dart'; | |
import 'dart:mirrors'; | |
abstract class LoggerMixin { | |
Logger _log; | |
Logger get log { | |
if( _log == null ) { |

This file contains hidden or 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
old = set( some values ) | |
new = set( some other values ) | |
added = new.difference(old) | |
removed = old.difference(new) |
This file contains hidden or 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
def associate( self, project): | |
"called when an extra is first associated with a project." | |
def unassociate( self, project): | |
"called when an extra is removed from a project." | |
def initialSync( self, project): | |
""" Does whatever needs doing for an initial sync of the project. | |
An extra's configuration should add this event to the queue when | |
it's ready. """ |
This file contains hidden or 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"?> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" | |
creationComplete="application1_creationCompleteHandler(event)" | |
> | |
<fx:Script> | |
< |
NewerOlder