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
| //274 properties on an empty div element in Chrome (webkit) | |
| //via CSSStyleDeclaration class thus lacks standard - syntax | |
| alignmentBaseline: "auto" | |
| background: "rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box" | |
| backgroundAttachment: "scroll" | |
| backgroundClip: "border-box" | |
| backgroundColor: "rgba(0, 0, 0, 0)" | |
| backgroundImage: "none" | |
| backgroundOrigin: "padding-box" |
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
| module M { | |
| var s = "hello"; | |
| export function f() { | |
| return s; | |
| } | |
| } |
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
| function strange(x, y, z) { | |
| if (typeof y === "undefined") { y = x * 2; } | |
| if (typeof z === "undefined") { z = x + y; } | |
| return z; | |
| } |
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
| app_project=bridges | |
| app_name="Flipz Bridges" | |
| app_url=http://abbeyswallpaper.com/flipz/${app_project}.php | |
| app_package=com.flipz.${app_project} | |
| if [ -d "SRC/src/com/flipz/project" ]; then | |
| mv SRC/src/com/flipz/project/ SRC/src/com/flipz/${app_project}/ | |
| for file in SRC/src/com/flipz/${app_project}/* | |
| do |
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
| // prevent default selection when canvas is clicked! | |
| // does not interfere with catching events in easeljs apis | |
| <canvas id="appCanvas"></canvas> | |
| document.getElementById("appCanvas").addEventListener( "mousedown" , function(e){ e.preventDefault(); } , false ); | |
| document.getElementById("appCanvas").addEventListener( "mouseup" , function(e){ e.preventDefault(); } , false ); |
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
| module base.managers { | |
| export class EventManager{ | |
| constructor(){ | |
| base._.extend( this , Backbone.Events ); | |
| } | |
| //Call interface for Backbone.Events | |
| //TODO: tighten with definition |
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
| walkManagerChain( manager:any , event:any ):void{ | |
| while( true ){ | |
| if( manager.hasOwnProperty( '_' + event.type ) ){ | |
| manager[ '_' + event.type ]( event ); | |
| } | |
| if( manager.hasOwnProperty( 'manager' ) ){ | |
| manager = manager.manager; | |
| }else{ | |
| return; | |
| } |
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
| //imports | |
| appjs : import = js/app.js | |
| core: import = light/core.js | |
| html: import = light/html.js | |
| easeljs : import = js/easel.js | |
| //references | |
| application:@ = core.application | |
| event:@ = core.listener | |
| hc:@ = html.canvas |
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
| var http = require( 'http' ); | |
| var server = http.createServer( function( request , response ) { | |
| request.socket.unref(); | |
| console.log( request.socket.remoteAddress ); | |
| response.writeHead( 200 , { 'Content-Type' : 'text/plain' } ); | |
| response.end( 'working!' ); | |
| }); | |
| server.listen( 1492 , '127.0.0.1' ); |
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
| ts: | |
| [echo] ts: start | |
| [echo] ts: copy src/app into build | |
| [echo] ts: preprocess html templates into .ts classes | |
| [echo] ts: compile app/app.ts and all linked files | |
| [exec] /coderoot/big-box-js/main/build/app/controls/Image.ts (1066,17): Check format of expression term | |
| [exec] /coderoot/big-box-js/main/build/app/managers/ImageManager.ts(139,78): Expected type | |
| [exec] /coderoot/big-box-js/main/build/app/controls/BackgroundImage.ts(3,41): Expected type | |
| [exec] /coderoot/big-box-js/main/build/app/controls/ComponentFactory.ts(96,83): Expected type | |
| [exec] /coderoot/big-box-js/main/build/app/editors/ImageEditor.ts(5,16): Expected type |
OlderNewer