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
| '../yourCypressRepository' asDirectoryEntry | |
| allFilesDo: [:each | each rename: (each name copyReplaceAll: '.json' with: '.ston')] | |
| matches: [:each | '*.json' match: each name] |
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
| EcGameProgram subclass: #EcTimelineExample | |
| instanceVariableNames: '' | |
| package: 'Enchant-Examples'! | |
| !EcTimelineExample methodsFor: 'actions'! | |
| prepareBeforeLoad | |
| self game assetsBasePath: './game-img/'. | |
| self game preloadAssets: #('chara1.png'). | |
| self game fps: 20. |
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
| EcGameProgram subclass: #EcTouchEventExample | |
| instanceVariableNames: '' | |
| package: 'Enchant-Examples'! | |
| !EcTouchEventExample methodsFor: 'actions'! | |
| prepareBeforeLoad | |
| self game assetsBasePath: './game-img/'. | |
| self game preloadAssets: #('chara1.png' 'icon0.png'). | |
| self game fps: 20. |
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
| EcSprite subclass: #EcExampleApple | |
| instanceVariableNames: '' | |
| package: 'Enchant-Examples'! | |
| !EcExampleApple methodsFor: 'initialization'! | |
| initialize | |
| self extent: 16@16. | |
| self imageName: 'icon0.png'. | |
| self frame: 15. |
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
| #! /bin/sh | |
| files='Kernel-Objects.deploy.js Kernel-Classes.deploy.js Kernel-Methods.deploy.js Kernel-Collections.deploy.js Kernel-Exceptions.deploy.js Kernel-Transcript.deploy.js Kernel-Announcements.deploy.js Canvas.deploy.js' | |
| opts='-v -o' | |
| uglifyjs $files $opts amberKernel.js |
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
| SystemOrganization addCategory: #AdvMessageInterceptor! | |
| ProtoObject subclass: #AdvMessageInterceptor | |
| instanceVariableNames: 'originalObject' | |
| classVariableNames: '' | |
| poolDictionaries: '' | |
| category: 'AdvMessageInterceptor'! | |
| !AdvMessageInterceptor class methodsFor: 'instance creation' stamp: 'mu 12/13/2014 21:20'! | |
| on: anOriginalObject |
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
| 'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 23 December 2014 at 12:20:55 pm'! | |
| !IPhoneScratchProxy methodsFor: '*PyonTalk-actions-override' stamp: 'mu 12/18/2014 23:16'! | |
| setViewModeIndex: viewModeNumber | |
| "[self basicSetViewModeIndex: viewModeNumber] fork" | |
| viewModeNumber caseOf: { | |
| [0]->[Transcript open]. | |
| [1]->[Workspace open]. | |
| [2]->[Browser openBrowser]. |
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 <Foundation/Foundation.h> | |
| #import "SUYScratchPresentationSpace.h" | |
| @interface ScratchIPhonePresentationSpace (PyonTalk) | |
| //Smalltalk actions | |
| - (IBAction) keyBackspace: (id) sender; | |
| - (IBAction) keyEnter: (id) sender; | |
| - (IBAction) keyEscape: (id) sender; |
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
| 'From Pharo4.0 of 18 March 2013 [Latest update: #40614] on 24 June 2015 at 5:47:47.355774 pm'! | |
| !BPPharoPlatform methodsFor: 'facade' stamp: 'MasashiUmezawa 6/24/2015 17:44'! | |
| fileDelete: filename | |
| Smalltalk at: #FileDirectory ifPresent: [:cls | ^cls default deleteFileNamed: filename]. | |
| filename asFileReference ensureDelete! ! | |
| !BPPharoPlatform methodsFor: 'facade' stamp: 'MasashiUmezawa 6/24/2015 17:03'! | |
| jsonRead: aString |
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
| -- Modules | |
| console = require('console') | |
| queue = require('queue') | |
| http = require('http.client') | |
| json = require('json') | |
| -- Expirationd setup | |
| expirationd = require('expirationd') | |
| function is_expired(args, tuple) |
OlderNewer