Skip to content

Commit

Permalink
Changed the location of the source
Browse files Browse the repository at this point in the history
git-svn-id: http://hotruby.googlecode.com/svn/trunk@15 4fb8041d-b042-0410-9571-f50be27af959
  • Loading branch information
yukoba@accelart.jp committed Jan 14, 2008
1 parent ea17085 commit 34b8a0a
Show file tree
Hide file tree
Showing 23 changed files with 1,262 additions and 17 deletions.
2 changes: 1 addition & 1 deletion ActionScript/buildHotRuby.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set "PATH=%FLEX_HOME%\bin;%PATH%"
copy /b HotRubyHeader.as + test.as + ..\web\js\HotRuby.js + ..\web\js\NativeMethods.js HotRubyFlash.as
copy /b ..\src\ASHeader.as + test.as + ..\src\RubyVM.js + ..\src\RubyNative.js + ..\src\ASNative.js HotRubyFlash.as
mxmlc --strict=false --warnings=false -default-size 600 400 -default-frame-rate=30 -default-background-color=0xFFFFFF HotRubyFlash.as
pause
2 changes: 1 addition & 1 deletion ActionScript/buildHotRubyDebug.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set "PATH=%FLEX_HOME%\bin;%PATH%"
copy /b HotRubyHeader.as + test.as + ..\web\js\HotRuby.js + ..\web\js\NativeMethods.js HotRubyFlash.as
copy /b ..\src\ASHeader.as + test.as + ..\src\RubyVM.js + ..\src\RubyNative.js + ..\src\ASNative.js HotRubyFlash.as
mxmlc -debug=true --strict=false --warnings=false -default-size 600 400 -default-frame-rate=30 -default-background-color=0xFFFFFF HotRubyFlash.as
pause
2 changes: 2 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
copy /b src\RubyVM.js + src\RubyNative.js web\js\HotRuby.js
1 change: 1 addition & 0 deletions web/buildJSDoc.bat → buildJSDoc.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off
cd web
del /S /Q jsdoc
SET "BASE_DIR=C:\Program Files\JavaScript\jsdoc_toolkit-1.4.0"
java "-Djsdoc.dir=%BASE_DIR%" -jar "%BASE_DIR%\app\js.jar" "%BASE_DIR%\app\run.js" --directory=jsdoc --private "--template=%BASE_DIR%\templates\sunny" js\HotRuby.js
File renamed without changes.
15 changes: 15 additions & 0 deletions src/ASNative.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// The license of this source is "Ruby License"
(function() {

var asNativeClasses = {
"ASEnviornment" : {
},
"ASObject" : {
}
};
for(var className in asNativeClasses) {
HotRuby.prototype.classes[className] = asNativeClasses[className];
}

})();

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 34b8a0a

Please sign in to comment.