public
Description: Plugin for running Ruby in the browser seamlessly from Rails, and display either HTML or vector graphics
Homepage: http://jimmy.schementi.com/silverline
Clone URL: git://github.com/jschementi/silverline.git
Now everything works on Silverlight 2 RTW
jschementi (author)
Sat Oct 18 14:53:42 -0700 2008
commit  121c6dea38780876eee7396a40c6b9a2561aefb4
tree    cd0193e16b625ccb28dbbfd71bbc5cd01d75302f
parent  2d0ac6880c27be4235d9918f04ade0a84890d6fe
...
1
2
 
...
 
 
1
0
@@ -1,2 +1 @@
0
-load_assembly 'IronRuby.Libraries', 'Ruby.StandardLibrary.StringScanner'
0
-
0
+load_assembly 'IronRuby.Libraries', 'IronRuby.StandardLibrary.StringScanner'
...
60
61
62
63
 
64
65
66
...
60
61
62
 
63
64
65
66
0
@@ -60,7 +60,7 @@ module Silverline::Essential
0
     private 
0
 
0
       def manifest
0
-        @assembly_path = "/public/ironruby"
0
+        @assembly_path = "" #"/public/ironruby"
0
         # Note: Silverlight entry-point assembly must be the first in this list
0
         # (Microsoft.Scripting.Silverlight in this case)
0
         @assemblies = %w(Microsoft.Scripting.Silverlight Microsoft.Scripting.ExtensionAttribute Microsoft.Scripting.Core Microsoft.Scripting IronRuby IronRuby.Libraries)
...
19
20
21
22
23
24
25
26
27
...
19
20
21
 
 
 
22
23
24
0
@@ -19,9 +19,6 @@
0
     <add key="urlPrefix" value="http://example.com/assemblies/" />
0
     -->
0
     
0
-    <!-- where Chiron will serve language DLLs out of -->
0
-    <add key="urlPrefix" value="/ironruby" />
0
-    
0
     <!-- the location of language assemblies on disk -->
0
     <add key="localAssemblyPath" value="." />
0
   </appSettings>
...
5
6
7
8
9
10
11
12
13
 
14
15
16
...
5
6
7
 
 
 
 
 
 
8
9
10
11
0
@@ -5,12 +5,7 @@
0
   EntryPointType="<%= @entry_point_type %>">
0
   <Deployment.Parts>
0
   <% for assembly in @assemblies %>
0
-  <AssemblyPart source="<%= @assembly_path %>/<%= assembly %>.dll"
0
-  <% if assembly == @assemblies.first %>
0
-    name="<%= assembly %>" />
0
-  <% else %>
0
-    />
0
-  <% end %>
0
+    <AssemblyPart source="<%= @assembly_path %>/<%= assembly %>.dll" />
0
   <% end %>
0
   </Deployment.Parts>
0
 </Deployment>

Comments