Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 241 Bytes
///<reference path="../def/angular.d.ts"/>
angular.module('filters')
.filter("position", function(Board:IBoard) {
return function(object:IPoint) {
return {left: object.x * Board.UNIT + "px", top: object.y * Board.UNIT + "px"}
}
})
Something went wrong with that request. Please try again.