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
// AngularJS | |
// example usage: <input type="date" id="target" class="form-control" required x-date-millis="order.targetDate"> | |
app.directive('input', | |
function($compile) | |
{ | |
return { | |
restrict: 'E', | |
scope: { | |
dateMillis: '=' | |
}, |
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
1 REM Paste here to test: http://www.calormen.com/jsbasic/ | |
10 REM Initial Setup | |
20 HGR2 | |
30 CLRS% = 8: MULT% = 8: THR%=2048 | |
40 WIDTH%=280:HEIGHT%=192 | |
50 IX=-2:MX=1:IY=-1:MY=1 | |
60 GOSUB 200 | |
70 GET C$ | |
80 TEXT | |
190 END |