Permalink
Browse files

Changed the location of the source

git-svn-id: http://hotruby.googlecode.com/svn/trunk@15 4fb8041d-b042-0410-9571-f50be27af959
  • Loading branch information...
1 parent ea17085 commit 34b8a0a64131ec1d47012fdc36f7250a4ac1048e yukoba@accelart.jp committed Jan 14, 2008
@@ -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
@@ -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
View
@@ -0,0 +1,2 @@
+@echo off
+copy /b src\RubyVM.js + src\RubyNative.js web\js\HotRuby.js
@@ -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.
View
@@ -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.
Oops, something went wrong.

0 comments on commit 34b8a0a

Please sign in to comment.