Przeglądaj źródła

Removing JSKompactor. No more needed as we move to gulp only processing
Removing BuildYourOwnBabylon. No more needed as we move to gulp only processing

David Catuhe 10 lat temu
rodzic
commit
03cb945da7
100 zmienionych plików z 11 dodań i 72060 usunięć
  1. 5 5
      Babylon/Cameras/babylon.freeCamera.ts
  2. 6 6
      Babylon/Collisions/babylon.collisionCoordinator.ts
  3. 0 106
      Tools/BuildOurOwnBabylonJS/BabylonJS/BabylonJS.csproj
  4. 0 126
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.sln
  5. 0 6
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/.gitignore
  6. 0 97
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.csproj
  7. 0 6
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.csproj.user
  8. 0 174
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Program.cs
  9. 0 36
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Properties/AssemblyInfo.cs
  10. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/Mvp.Xml.dll
  11. 0 29
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/license.txt
  12. 0 2
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/readme.txt
  13. 0 193
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Script.cs
  14. 0 3
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/app.config
  15. 0 131
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xml
  16. 0 60
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xsd
  17. 0 2
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.bat
  18. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.exe
  19. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/JSKompactor.exe
  20. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/Mvp.Xml.dll
  21. 0 26318
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylon.js
  22. 0 9
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylonJS.xml
  23. 0 221
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/BuildOurOwnBabylonJSServer.csproj
  24. 0 66
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Loading.css
  25. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Logo.png
  26. 0 248
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Site.css
  27. 0 9
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Web.config
  28. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
  29. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
  30. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
  31. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
  32. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
  33. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
  34. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
  35. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  36. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_222222_256x240.png
  37. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_2e83ff_256x240.png
  38. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_454545_256x240.png
  39. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_888888_256x240.png
  40. BIN
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
  41. 0 24
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.accordion.css
  42. 0 16
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.all.css
  43. 0 62
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.autocomplete.css
  44. 0 11
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.base.css
  45. 0 43
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.button.css
  46. 0 46
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.core.css
  47. 0 73
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.datepicker.css
  48. 0 26
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.dialog.css
  49. 0 16
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.progressbar.css
  50. 0 25
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.resizable.css
  51. 0 15
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.selectable.css
  52. 0 29
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.slider.css
  53. 0 23
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.tabs.css
  54. 0 257
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.theme.css
  55. 0 19
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/BabylonJSDemoController.cs
  56. 0 104
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/BuildOurOwnBabylonJSController.cs
  57. 0 16
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/HomeController.cs
  58. 0 42
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/OurDemoController.cs
  59. 0 16
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/SandBoxController.cs
  60. 0 1
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Global.asax
  61. 0 40
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Global.asax.cs
  62. 0 35
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Properties/AssemblyInfo.cs
  63. 0 7117
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftAjax.debug.js
  64. 0 6
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftAjax.js
  65. 0 408
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcAjax.debug.js
  66. 0 25
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcAjax.js
  67. 0 883
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcValidation.debug.js
  68. 0 55
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcValidation.js
  69. 0 9110
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-1.5.1-vsdoc.js
  70. 0 8325
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-1.5.1.js
  71. 0 19
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-1.5.1.min.js
  72. 0 11700
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-ui-1.8.11.js
  73. 0 938
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-ui-1.8.11.min.js
  74. 0 165
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.unobtrusive-ajax.js
  75. 0 5
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.unobtrusive-ajax.min.js
  76. 0 1299
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate-vsdoc.js
  77. 0 1162
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.js
  78. 0 53
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.min.js
  79. 0 319
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.unobtrusive.js
  80. 0 5
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.unobtrusive.min.js
  81. 0 969
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/modernizr-1.7.js
  82. 0 10
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/modernizr-1.7.min.js
  83. 0 15
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/ViewModel/OurDemoViewModel.cs
  84. 0 30
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/BabylonJSDemo/Index.cshtml
  85. 0 8
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Home/Index.cshtml
  86. 0 47
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/OurDemo/sample.cshtml
  87. 0 56
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/SandBox/Index.cshtml
  88. 0 9
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Shared/Error.cshtml
  89. 0 89
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Shared/_Layout.cshtml
  90. 0 58
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Web.config
  91. 0 3
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/_ViewStart.cshtml
  92. 0 30
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Web.Debug.config
  93. 0 31
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Web.Release.config
  94. 0 78
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Web.config
  95. 0 94
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/WebViewPageExtensions.cs
  96. 0 10
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/packages.config
  97. 0 56
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/BuildOurOwnBabylonJSShared.csproj
  98. 0 36
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/Properties/AssemblyInfo.cs
  99. 0 45
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/Scripts/Loading.js
  100. 0 0
      Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/Style/Loading.css

+ 5 - 5
Babylon/Cameras/babylon.freeCamera.ts

@@ -191,7 +191,7 @@
             this._collider.radius = this.ellipsoid;
 
             this.getScene().collisionCoordinator.getNewPosition(this._oldPosition, velocity, this._collider, 3, null, this._onCollisionPositionChange, gravityInspection ? this.uniqueId + 100000 : this.uniqueId);
-            
+
         }
 
         private _onCollisionPositionChange = (collisionId: number, newPosition: Vector3, collidedMesh: AbstractMesh = null) => {
@@ -228,15 +228,15 @@
                 if (fromGravity) {
                     this._needMoveForGravity = (BABYLON.Vector3.DistanceSquared(oldPosition, this.position) != 0);
                 }
-            }    
-            
+            }
+
             if (fromGravity) {
                 //if arrived from gravity, use the buffered diffPosition that was created during the regular collision check.
                 this.position.addInPlace(this._diffPosition);
             }
             updatePosition(newPosition);
         }
-        
+
         public _checkInputs(): void {
             if (!this._localDirection) {
                 this._localDirection = BABYLON.Vector3.Zero();
@@ -285,4 +285,4 @@
         }
 
     }
-} 
+} 

+ 6 - 6
Babylon/Collisions/babylon.collisionCoordinator.ts

@@ -84,21 +84,21 @@ module BABYLON {
     export interface InitPayload {
 
     }
-    
+
     export interface CollidePayload {
         collisionId: number;
         collider: SerializedColliderToWorker;
         maximumRetry: number;
         excludedMeshUniqueId?: number;
     }
-        
+
     export interface UpdatePayload {
         updatedMeshes: { [n: number]: SerializedMesh; };
         updatedGeometries: { [s: string]: SerializedGeometry; };
         removedMeshes: Array<number>;
         removedGeometries: Array<string>;
     }
-    
+
     export enum WorkerReplyType {
         SUCCESS,
         UNKNOWN_ERROR
@@ -136,7 +136,7 @@ module BABYLON {
         }
 
         public static SerializeMesh = function (mesh: BABYLON.AbstractMesh): SerializedMesh {
-            var submeshes : Array<SerializedSubMesh> = [];
+            var submeshes: Array<SerializedSubMesh> = [];
             if (mesh.subMeshes) {
                 submeshes = mesh.subMeshes.map(function (sm, idx) {
                     return {
@@ -345,7 +345,7 @@ module BABYLON {
         public getNewPosition(position: Vector3, velocity: Vector3, collider: Collider, maximumRetry: number, excludedMesh: AbstractMesh, onNewPosition: (collisionIndex: number, newPosition: BABYLON.Vector3, collidedMesh?: BABYLON.AbstractMesh) => void, collisionIndex: number): void {
             position.divideToRef(collider.radius, this._scaledPosition);
             velocity.divideToRef(collider.radius, this._scaledVelocity);
-            
+
             collider.retry = 0;
             collider.initialVelocity = this._scaledVelocity;
             collider.initialPosition = this._scaledPosition;
@@ -408,4 +408,4 @@ module BABYLON {
             this._collideWithWorld(position, velocity, collider, maximumRetry, finalPosition, excludedMesh);
         }
     }
-}
+}

+ 0 - 106
Tools/BuildOurOwnBabylonJS/BabylonJS/BabylonJS.csproj

@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>
-    </ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{0263AD0D-56E6-4439-BC05-6EC957200F52}</ProjectGuid>
-    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>BabylonJS</RootNamespace>
-    <AssemblyName>BabylonJS</AssemblyName>
-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
-    <UseIISExpress>false</UseIISExpress>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Resource Include="..\..\..\cannon.js">
-      <Link>cannon.js</Link>
-    </Resource>
-    <Resource Include="..\..\..\babylon.*.*.js">
-      <Link>%(Filename)%(Extension)</Link>
-    </Resource>
-    <Resource Include="..\..\..\Babylon\**\*.js">
-      <Link>Babylon\%(RecursiveDir)js\%(Filename)%(Extension)</Link>
-    </Resource>
-  </ItemGroup>
-  <ItemGroup>
-    <Folder Include="Properties\" />
-  </ItemGroup>
-  <PropertyGroup>
-    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
-    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
-    <TypeScriptSourceMap>true</TypeScriptSourceMap>
-  </PropertyGroup>
-  <Choose>
-    <When Condition="Exists('$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets')">
-        <ItemGroup>
-            <TypeScriptCompile Include="..\..\..\Babylon\**\*.ts">
-              <Link>Babylon\%(RecursiveDir)%(Filename)%(Extension)</Link>
-            </TypeScriptCompile>
-        </ItemGroup>
-    </When>
-    <Otherwise>
-        <ItemGroup>
-            <Resource Include="..\..\..\Babylon\**\*.ts">
-                <Link>Babylon\%(RecursiveDir)%(Filename)%(Extension)</Link>
-            </Resource>
-        </ItemGroup>
-    </Otherwise>
-  </Choose>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <PropertyGroup>
-    <TypeScriptTarget>ES5</TypeScriptTarget>
-  </PropertyGroup>
-  <Import Project="$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(VSToolsPath)\TypeScript\Microsoft.TypeScript.targets')" />
-  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
-  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
-  <ProjectExtensions>
-    <VisualStudio>
-      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
-        <WebProjectProperties>
-          <UseIIS>False</UseIIS>
-          <AutoAssignPort>True</AutoAssignPort>
-          <DevelopmentServerPort>25752</DevelopmentServerPort>
-          <DevelopmentServerVPath>/</DevelopmentServerVPath>
-          <IISUrl>
-          </IISUrl>
-          <NTLMAuthentication>False</NTLMAuthentication>
-          <UseCustomServer>False</UseCustomServer>
-          <CustomServerUrl>
-          </CustomServerUrl>
-          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
-        </WebProjectProperties>
-      </FlavorProperties>
-    </VisualStudio>
-  </ProjectExtensions>
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target>
-  -->
-</Project>

+ 0 - 126
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.sln

@@ -1,126 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.21005.1
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BabylonJS", "BabylonJS\BabylonJS.csproj", "{0263AD0D-56E6-4439-BC05-6EC957200F52}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuildOurOwnBabylonJSServer", "BuildOurOwnBabylonJSServer\BuildOurOwnBabylonJSServer.csproj", "{93EF5B02-72EB-4B55-831E-E5051269EDA6}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuildOurOwnBabylonJS", "BuildOurOwnBabylonJS\BuildOurOwnBabylonJS.csproj", "{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}"
-EndProject
-Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "BuildOurOwnBabylonJSWinJSApp", "BuildOurOwnBabylonJSWinJSApp\BuildOurOwnBabylonJSWinJSApp.jsproj", "{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuildOurOwnBabylonJSShared", "BuildOurOwnBabylonJSShared\BuildOurOwnBabylonJSShared.csproj", "{F0ABEBA9-1D9B-47C8-9033-E054BF198791}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Any CPU = Debug|Any CPU
-		Debug|ARM = Debug|ARM
-		Debug|Mixed Platforms = Debug|Mixed Platforms
-		Debug|x64 = Debug|x64
-		Debug|x86 = Debug|x86
-		Release|Any CPU = Release|Any CPU
-		Release|ARM = Release|ARM
-		Release|Mixed Platforms = Release|Mixed Platforms
-		Release|x64 = Release|x64
-		Release|x86 = Release|x86
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Any CPU.ActiveCfg = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Any CPU.Build.0 = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|ARM.ActiveCfg = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|Mixed Platforms.Build.0 = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|x64.ActiveCfg = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|x86.ActiveCfg = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Debug|x86.Build.0 = Debug|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Any CPU.ActiveCfg = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Any CPU.Build.0 = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|ARM.ActiveCfg = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Mixed Platforms.ActiveCfg = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|Mixed Platforms.Build.0 = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|x64.ActiveCfg = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|x86.ActiveCfg = Release|x86
-		{0263AD0D-56E6-4439-BC05-6EC957200F52}.Release|x86.Build.0 = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Any CPU.ActiveCfg = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Any CPU.Build.0 = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|ARM.ActiveCfg = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|Mixed Platforms.Build.0 = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|x64.ActiveCfg = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|x86.ActiveCfg = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Debug|x86.Build.0 = Debug|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Any CPU.ActiveCfg = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Any CPU.Build.0 = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|ARM.ActiveCfg = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Mixed Platforms.ActiveCfg = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|Mixed Platforms.Build.0 = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|x64.ActiveCfg = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|x86.ActiveCfg = Release|x86
-		{93EF5B02-72EB-4B55-831E-E5051269EDA6}.Release|x86.Build.0 = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Any CPU.ActiveCfg = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Any CPU.Build.0 = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|ARM.ActiveCfg = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|Mixed Platforms.Build.0 = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|x64.ActiveCfg = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|x86.ActiveCfg = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Debug|x86.Build.0 = Debug|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Any CPU.ActiveCfg = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Any CPU.Build.0 = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|ARM.ActiveCfg = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Mixed Platforms.ActiveCfg = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|Mixed Platforms.Build.0 = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|x64.ActiveCfg = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|x86.ActiveCfg = Release|x86
-		{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}.Release|x86.Build.0 = Release|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|ARM.ActiveCfg = Debug|ARM
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|ARM.Build.0 = Debug|ARM
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|ARM.Deploy.0 = Debug|ARM
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|Mixed Platforms.Build.0 = Debug|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|Mixed Platforms.Deploy.0 = Debug|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|x64.ActiveCfg = Debug|x64
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|x64.Build.0 = Debug|x64
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|x64.Deploy.0 = Debug|x64
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|x86.ActiveCfg = Debug|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|x86.Build.0 = Debug|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Debug|x86.Deploy.0 = Debug|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|Any CPU.Build.0 = Release|Any CPU
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|Any CPU.Deploy.0 = Release|Any CPU
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|ARM.ActiveCfg = Release|ARM
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|ARM.Build.0 = Release|ARM
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|ARM.Deploy.0 = Release|ARM
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|Mixed Platforms.ActiveCfg = Release|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|Mixed Platforms.Build.0 = Release|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|Mixed Platforms.Deploy.0 = Release|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|x64.ActiveCfg = Release|x64
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|x64.Build.0 = Release|x64
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|x64.Deploy.0 = Release|x64
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|x86.ActiveCfg = Release|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|x86.Build.0 = Release|x86
-		{7CDB4B83-4E3E-48D1-B982-9C33CA60712A}.Release|x86.Deploy.0 = Release|x86
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|ARM.ActiveCfg = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|x64.ActiveCfg = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Debug|x86.ActiveCfg = Debug|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|Any CPU.Build.0 = Release|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|ARM.ActiveCfg = Release|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|Mixed Platforms.Build.0 = Release|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|x64.ActiveCfg = Release|Any CPU
-		{F0ABEBA9-1D9B-47C8-9033-E054BF198791}.Release|x86.ActiveCfg = Release|Any CPU
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal

+ 0 - 6
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/.gitignore

@@ -1,6 +0,0 @@
-# User-specific files
-/executables/jskompactor.bat
-/ourOwnBabylonJS.xml
-/ourOwnBabylon.js
-#is in repo to have an example of command line
-/BuildOurOwnBabylonJS.csproj.user 

+ 0 - 97
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.csproj

@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
-    <ProductVersion>8.0.30703</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}</ProjectGuid>
-    <OutputType>Exe</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>BuildOurOwnBabylonJS</RootNamespace>
-    <AssemblyName>BuildOurOwnBabylonJS</AssemblyName>
-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
-    <TargetFrameworkProfile>
-    </TargetFrameworkProfile>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <PlatformTarget>x86</PlatformTarget>
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <PlatformTarget>x86</PlatformTarget>
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup>
-    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="Mvp.Xml, Version=2.0.2158.1055, Culture=neutral, PublicKeyToken=dd92544dc05f5671, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>Refs\Mvp.Xml-bin-2.0\Mvp.Xml.dll</HintPath>
-    </Reference>
-    <Reference Include="System" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Script.cs" />
-    <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="ourOwnBabylon.js"></Content>
-    <None Include="babylonJS.xsd">
-      <SubType>Designer</SubType>
-    </None>
-    <Content Include="Refs\Mvp.Xml-bin-2.0\license.txt" />
-    <Content Include="Refs\Mvp.Xml-bin-2.0\Mvp.Xml.dll" />
-    <Content Include="Refs\Mvp.Xml-bin-2.0\readme.txt" />
-    <Resource Include="babylonJS.xml">
-      <SubType>Designer</SubType>
-    </Resource>
-    <Content Include="executables\JSKompactor.exe">
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-    </Content>
-    <Resource Include="ourOwnBabylonJS.xml">
-      <SubType>Designer</SubType>
-    </Resource>
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="app.config" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\BabylonJS\BabylonJS.csproj">
-      <Project>{0263AD0D-56E6-4439-BC05-6EC957200F52}</Project>
-      <Name>BabylonJS</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <PropertyGroup>
-    <PostBuildEvent>
-    </PostBuildEvent>
-  </PropertyGroup>
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target>
-  -->
-</Project>

+ 0 - 6
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS.csproj.user

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <StartArguments>/w:"..\..\..\..\.." /i:"..\..\ourOwnBabylonJS.xml" /s:"Babylon\Shaders" /o:"..\.."</StartArguments>
-  </PropertyGroup>
-</Project>

+ 0 - 174
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Program.cs

@@ -1,174 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.IO;
-using System.Reflection;
-using System.Xml.Linq;
-using System.Diagnostics;
-using Mvp.Xml.XInclude;
-using System.Xml;
-
-namespace BuildOurOwnBabylonJS
-{
-    class Program
-    {
-        static void Main(string[] args)
-        {
-            if (args.Length < 3)
-            {
-                DisplayUsage();
-                Environment.Exit(1);
-                return;
-            }
-
-            // Parsing arguments
-            var ourOwnBabylonJSXmlFilePath = "";
-            var scriptsFolderPath = "";
-            var shadersFolderPath = "";
-            var outputFolderPath = "";
-            var JSKompactorFolderPath = "";
-
-            foreach (var arg in args)
-            {
-                var order = arg.Substring(0, 3);
-
-                switch (order)
-                {
-                    case "/i:":
-                        ourOwnBabylonJSXmlFilePath = arg.Substring(3);
-                        break;
-                    case "/w:":
-                        scriptsFolderPath = arg.Substring(3);
-                        break;
-                    case "/s:":
-                        shadersFolderPath = arg.Substring(3);
-                        break;
-                    case "/o:":
-                        outputFolderPath = arg.Substring(3);
-                        break;
-                    case "/k:":
-                        JSKompactorFolderPath = arg.Substring(3);
-                        break;
-                    default:
-                        DisplayUsage();
-                        Environment.Exit(1);
-                        return;
-                }
-            }
-
-            if (String.IsNullOrEmpty(ourOwnBabylonJSXmlFilePath)
-                || String.IsNullOrEmpty(scriptsFolderPath)
-                || String.IsNullOrEmpty(shadersFolderPath)
-                || String.IsNullOrEmpty(outputFolderPath))
-            {
-                DisplayUsage();
-                Environment.Exit(1);
-                return;
-            }
-
-            try
-            {
-                ParseListOfFiles(ourOwnBabylonJSXmlFilePath);
-
-                if (String.IsNullOrEmpty(JSKompactorFolderPath))
-                    JSKompactorFolderPath = "executables";
-
-                var batchFilePath = WriteBatchFile(scriptsFolderPath, ComupteDependencies(),
-                    shadersFolderPath, outputFolderPath, JSKompactorFolderPath);
-
-                CallBatchFile(batchFilePath);
-            }
-            catch (Exception ex)
-            {
-                Error(ex);
-                Environment.Exit(1);
-            }
-
-            Environment.Exit(0);
-        }
-
-        private static void ParseListOfFiles(string path)
-        {
-            var reader = new XIncludingReader(XmlReader.Create(path));
-         
-            var document = XDocument.Load(reader);
-
-            var files = document.Root;
-
-            var scriptElements = files.Elements(Script.TAGNAME);
-
-            foreach (var scriptElement in scriptElements)
-            {
-                Script.Load(scriptElement, scriptElements);
-            }
-        }
-
-        private static IEnumerable<string> ComupteDependencies()
-        {
-            var scripts = Script.Scripts;
-
-            var result = new List<string>(scripts.Count);
-
-            foreach (var script in scripts)
-            {
-                var v = script.Value;
-                if (v == null)
-                    continue;
-
-                v.GetDependenciesList(ref result);
-            }
-
-            return result;
-        }
-
-        private static string WriteBatchFile(string scriptsFolderPath, IEnumerable<string> scripts, 
-            string shadersFolderPath, string outputFolderPath, string jskompactorPath)
-        {
-            if (scripts == null || scripts.Count() == 0)
-                throw new Exception("A list of files was not provided.");
-
-            var count = scripts.Count();
-
-            var output = "";
-
-            for (var i = count - 1; i >= 0; --i)
-            {
-                output += "," + scripts.ElementAt(i);
-            }
-
-            output = output.Substring(1);
-
-            var batchFilePath = "jskompactor.bat";
-
-            using (var batchFile = new StreamWriter(batchFilePath, false))
-            {
-                batchFile.Write("\"" + jskompactorPath + "\\JSKompactor.exe\" /i:\"" + output
-                    + "\" /o:\"" + outputFolderPath + "\\ourOwnBabylon.js\" /w:\"" + scriptsFolderPath + "\" /s:\"" + shadersFolderPath + "\"");
-            }
-
-            return batchFilePath;
-        }
-
-        private static void CallBatchFile(string batchFilePath)
-        {
-            if (String.IsNullOrEmpty(batchFilePath) || !File.Exists(batchFilePath))
-                throw new Exception("No batch file");
-            
-            Process.Start(batchFilePath);
-        }
-
-        private static void DisplayUsage()
-        {
-            Console.WriteLine("BuildOurOwnBabylonJS usage: BuildOurOwnBabylonJS.exe /w:\"Working folder\" /i:\"Path of the xml file containing list of files to merge\" /s:\"Shaders folder\" /o:\"Output folder\" [/k:\"Path to JSKompactor.exe\"]");
-        }
-
-        private static void Error(Exception ex)
-        {
-            Console.ForegroundColor = ConsoleColor.Red;
-            Console.WriteLine();
-            Console.WriteLine(ex.Message);
-            Console.ResetColor();
-        }
-    }
-}

+ 0 - 36
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Properties/AssemblyInfo.cs

@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("BuildOurOwnBabylonJS")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("BuildOurOwnBabylonJS")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("fbe62e1e-f16e-42ad-8fae-e9d47f37f83f")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/Mvp.Xml.dll


+ 0 - 29
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/license.txt

@@ -1,29 +0,0 @@
-Copyright (c) 2005, XMLMVP Project
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without 
-modification, are permitted provided that the following conditions 
-are met:
-
-* Redistributions of source code must retain the above copyright 
-  notice, this list of conditions and the following disclaimer. 
-* Redistributions in binary form must reproduce the above copyright 
-  notice, this list of conditions and the following disclaimer in 
-  the documentation and/or other materials provided with the 
-  distribution. 
-*  Neither the name of the XMLMVP Project nor the names of its 
-  contributors may be used to endorse or promote products derived
-  from this software without specific prior written permission. 
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
-FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
-COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
-ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
-POSSIBILITY OF SUCH DAMAGE.

+ 0 - 2
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Refs/Mvp.Xml-bin-2.0/readme.txt

@@ -1,2 +0,0 @@
-This is version 2.0 of the Mvp.Xml library.
-Find more info at http://www.mvpxml.org

+ 0 - 193
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/Script.cs

@@ -1,193 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.IO;
-using System.Reflection;
-using System.Xml.Linq;
-
-namespace BuildOurOwnBabylonJS
-{
-    public class Script
-    {
-        public const string TAGNAME = "script";
-        public const string ID_ATTRIBUTENAME = "id";
-        public const string SRC_ATTRIBUTENAME = "src";
-        public const string DEPENDSON_TAGNAME = "dependsOn";
-        public const string SCRIPTREF_ATTRIBUTENAME = "scriptref";
-
-        private string _id;
-        public string Id { get { return _id; } }
-
-        private string _src;
-        public string Src { get { return _src; } }
-
-        private List<Script> _dependencies = Enumerable.Empty<Script>().ToList();
-        public IEnumerable<Script> Dependencies { get { return _dependencies; } }
-
-        private static Dictionary<string, Script> _scripts = new Dictionary<string, Script>();
-        public static IDictionary<string, Script> Scripts { get { return _scripts; } }
-
-        private bool _written;
-        
-        // caution: it doesn't take into account xml namespaces
-        public static Script Load(XElement scriptElement, 
-            IEnumerable<XElement> scriptElements)
-        {
-            if (scriptElement == null)
-                throw new ArgumentNullException("script");
-            if (scriptElements == null)
-                throw new ArgumentNullException("root");
-
-            if (scriptElement.Name != TAGNAME)
-                throw new Exception("Wrong tag name");
-
-            var srcAttribute = scriptElement.Attribute(SRC_ATTRIBUTENAME);
-
-            if (srcAttribute == null)
-                throw new Exception("Must have the " + SRC_ATTRIBUTENAME + " attribute");
-
-            var src = srcAttribute.Value;
-            var id = src;
-
-            var idAttribute = scriptElement.Attribute(ID_ATTRIBUTENAME);
-
-            if (idAttribute != null && !String.IsNullOrEmpty(idAttribute.Value))
-                id =  idAttribute.Value;
-
-            Script _this;
-
-            if (_scripts.TryGetValue(id, out _this))
-                return _this;
-
-            _this = new Script();
-            _this._id = id;
-            _this._src = src;
-
-            _scripts.Add(_this.Id, _this);
-
-            var dependsOnFiles = scriptElement.Elements(DEPENDSON_TAGNAME);
-
-            foreach (var dependOnFile in dependsOnFiles)
-            {
-                var scriptrefAttribute = dependOnFile.Attribute(SCRIPTREF_ATTRIBUTENAME);
-
-                if (scriptrefAttribute == null)
-                    throw new Exception(id + ": its dependency must have the " + SCRIPTREF_ATTRIBUTENAME + " attribute");
-
-                var scriptref = scriptrefAttribute.Value;
-
-                Script scriptRef;
-
-                if (!_scripts.TryGetValue(scriptref, out scriptRef))
-                {
-                    var newScriptElement = scriptElements
-                        .FirstOrDefault(script =>
-                        {
-                            var idAttr = script.Attribute(ID_ATTRIBUTENAME);
-
-                            if (idAttr == null)
-                                return false;
-
-                            return idAttr.Value == scriptref;
-                        });
-
-                    if (newScriptElement == null)
-                        throw new Exception(id +": couldn't find its dependency '" + scriptref + "'");
-
-                    scriptRef = Load(newScriptElement, scriptElements);
-                }
-
-                if (scriptRef == null)
-                    throw new Exception(id + ": couldn't find its dependency '" + scriptref + "'");
-
-                _this._dependencies.Add(scriptRef);
-            }
-
-            return _this;
-        }
-
-        public void GetDependenciesList(ref List<string> result, 
-            List<string> dependenciesLoopStack = null)
-        {
-            dependenciesLoopStack = dependenciesLoopStack ?? new List<string>(_scripts.Count);
-
-            if (dependenciesLoopStack.FirstOrDefault(src => src == _src) != null)
-                throw new Exception(_id + ": there is a dependency loop");
-
-            if (_written)
-            {
-                var dlsC = dependenciesLoopStack.Count;
-
-                if (dlsC == 0)
-                    return;
-
-                var lastId = dependenciesLoopStack[dlsC - 1];
-                
-                for(var i = 0; i < result.Count ; ++i)
-                {
-                    var tmp = result[i];
-
-                    if (tmp != _src)
-                        continue;
-
-                    var firstToAdd = -1;
-
-                    for (var j = 0 ; j < dependenciesLoopStack.Count ; ++j)
-                    {
-                        var k = 0;
-                        var dls = dependenciesLoopStack[j];
-
-                        if (firstToAdd == -1)
-                        {
-                            for (; k < i; ++k)
-                            {
-                                if (dls == result[k])
-                                    break;
-                            }
-
-                            if (k < i)
-                                continue;
-
-                            firstToAdd = j;
-                        }
-
-                        // i + j - firstToAdd should always be < result.Count - 1
-                        result[i + j - firstToAdd] = dls;
-                    }
-
-                    var moveTo = i + (dlsC - firstToAdd);
-
-                    // moveTo should always be < result.Count - 1
-
-                    if (result[moveTo] != lastId)
-                    {
-                        for (var k = result.Count - 1; k > moveTo; --k)
-                        {
-                            result[k] = result[k-1];
-                        }
-                    }
-
-                    result[moveTo] = tmp;
-
-                    break;
-                }
-
-                return;
-            }
-
-            _written = true;
-
-            dependenciesLoopStack.Add(_src);
-
-            result.Add(_src);
-            
-            foreach (var dependency in _dependencies)
-            {
-                dependency.GetDependenciesList(ref result, dependenciesLoopStack);
-            }
-
-            dependenciesLoopStack.RemoveAll(src => src == _src); // Remove(_src) should be enough
-        }
-    }
-}

+ 0 - 3
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/app.config

@@ -1,3 +0,0 @@
-<?xml version="1.0"?>
-<configuration>
-<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

+ 0 - 131
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xml

@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<files xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="babylonJS.xsd">  
-  <script src="Babylon/PostProcess/babylon.colorCorrectionPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.lensRenderingPipeline.js"></script>
-  <script src="Babylon/PostProcess/babylon.volumetricLightScatteringPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.ssaoRenderingPipeline.js"></script>
-  <script src="Babylon/Mesh/babylon.meshSimplification.js"></script>
-  <script src="Babylon/Rendering/babylon.depthRenderer.js"></script>
-  <script src="Babylon/Mesh/babylon.polygonMesh.js"></script>
-  <script src="Babylon/Materials/Textures/babylon.rawTexture.js"></script>
-  <script src="Babylon/Audio/babylon.analyser.js"></script>
-  <script src="Babylon/Audio/babylon.audioEngine.js"></script>
-  <script src="Babylon/Audio/babylon.sound.js"></script>
-  <script src="Babylon/Audio/babylon.soundtrack.js"></script>
-  <script src="Babylon/Debug/babylon.debugLayer.js"></script>
-  <script src="Babylon/Mesh/babylon.meshLODLevel.js"></script>
-  <script src="Babylon/Tools/babylon.sceneOptimizer.js"></script>
-  <script src="Babylon/Cameras/VR/babylon.vrDeviceOrientationCamera.js"></script>
-  <script src="Babylon/Cameras/VR/babylon.webVRCamera.js"></script>
-  <script src="Babylon/Tools/babylon.assetsManager.js"></script>
-  <script src="Babylon/Rendering/babylon.outlineRenderer.js"></script>
-  <script src="Babylon/Mesh/babylon.linesMesh.js"></script>
-  <script src="Babylon/Tools/babylon.gamepads.js"></script>
-  <script src="Babylon/Cameras/babylon.gamepadCamera.js"></script>
-  <script src="Babylon/Mesh/babylon.GroundMesh.js"></script>
-  <script src="Babylon/Mesh/babylon.geometry.js"></script>
-  <script src="Babylon/Actions/babylon.directActions.js"></script>
-  <script src="Babylon/Actions/babylon.interpolateValueAction.js"></script>
-  <script src="Babylon/Actions/babylon.actionManager.js"></script>
-  <script src="Babylon/Actions/babylon.action.js"></script>
-  <script src="Babylon/Actions/babylon.condition.js"></script>
-  <script src="Babylon/Rendering/babylon.boundingBoxRenderer.js"></script>
-  <script src="Babylon/PostProcess/babylon.displayPassPostProcess.js"></script>
-  <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManager.js"></script>
-  <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderPipeline.js"></script>
-  <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderEffect.js"></script>
-  <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderPass.js"></script>
-  <script src="Babylon/Tools/babylon.andOrNotEvaluator.js"></script>
-  <script src="Babylon/Tools/babylon.tags.js"></script>
-  <script src="Babylon/PostProcess/babylon.anaglyphPostProcess.js"></script>
-  <script src="Babylon/Cameras/babylon.anaglyphCamera.js"></script>
-  <script src="Babylon/Mesh/babylon.mesh.vertexData.js"></script>
-  <script src="Babylon/Materials/babylon.shaderMaterial.js"></script>
-  <script src="Babylon/Cameras/babylon.virtualJoysticksCamera.js"></script>
-  <script src="Babylon/Cameras/VR/babylon.oculusCamera.js"></script>
-  <script src="Babylon/Cameras/VR/babylon.oculusGamepadCamera.js"></script>
-  <script src="Babylon/Tools/babylon.virtualJoystick.js"></script>
-  <script src="Babylon/PostProcess/babylon.oculusDistortionCorrectionPostProcess.js"></script>
-  <script src="Babylon/Mesh/babylon.csg.js"></script>
-  <script src="Babylon/Tools/babylon.sceneSerializer.js"></script>
-  <script src="Babylon/Physics/babylon.physicsEngine.js"></script>
-  <script src="Babylon/Physics/Plugins/babylon.cannonJSPlugin.js"></script>
-  <script src="Babylon/Physics/Plugins/babylon.oimoJSPlugin.js"></script>
-  <script src="Babylon/LensFlare/babylon.lensFlareSystem.js"></script>
-  <script src="Babylon/LensFlare/babylon.lensFlare.js"></script>
-  <script src="Babylon/PostProcess/babylon.fxaaPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.filterPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.convolutionPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.blackAndWhitePostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.refractionPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.blurPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.passPostProcess.js"></script>
-  <script src="Babylon/PostProcess/babylon.postProcessManager.js"></script>
-  <script src="Babylon/PostProcess/babylon.postProcess.js"></script>
-  <script src="Babylon/Bones/babylon.bone.js"></script>
-  <script src="Babylon/Bones/babylon.skeleton.js"></script>
-  <script src="Babylon/Culling/Octrees/babylon.octreeBlock.js"></script>
-  <script src="Babylon/Culling/Octrees/babylon.octree.js"></script>
-  <script src="Babylon/Animations/babylon.animatable.js"></script>
-  <script src="Babylon/Animations/babylon.animation.js"></script>
-  <script src="Babylon/Animations/babylon.easing.js"></script>
-  <script src="Babylon/Particles/babylon.particleSystem.js"></script>
-  <script src="Babylon/Particles/babylon.particle.js"></script>
-  <script src="Babylon/Layer/babylon.layer.js"></script>
-  <script src="Babylon/Sprites/babylon.sprite.js"></script>
-  <script src="Babylon/Sprites/babylon.spriteManager.js"></script>
-  <script src="Babylon/Loading/Plugins/babylon.babylonFileLoader.js"></script>
-  <script src="Babylon/Loading/babylon.sceneLoader.js"></script>
-  <script src="Babylon/Materials/babylon.multiMaterial.js"></script>
-  <script src="Babylon/Materials/babylon.standardMaterial.js"></script>
-  <script src="Babylon/Materials/babylon.material.js"></script>
-  <script src="Babylon/Materials/babylon.effect.js"></script>
-  <script src="Babylon/Materials/textures/babylon.videoTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.dynamicTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.mirrorTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.renderTargetTexture.js"></script>
-  <script src="Babylon/Materials/textures/procedurals/babylon.proceduralTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.cubeTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.texture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.baseTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.customProceduralTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.proceduralTexture.js"></script>
-  <script src="Babylon/Materials/textures/babylon.standardProceduralTexture.js"></script>
-  <script src="Babylon/Mesh/babylon.subMesh.js"></script>
-  <script src="Babylon/Mesh/babylon.mesh.js"></script>
-  <script src="Babylon/Mesh/babylon.instancedMesh.js"></script>
-  <script src="Babylon/Mesh/babylon.vertexBuffer.js"></script>
-  <script src="Babylon/babylon.scene.js"></script>
-  <script src="Babylon/Rendering/babylon.renderingGroup.js"></script>
-  <script src="Babylon/Rendering/babylon.renderingManager.js"></script>
-  <script src="Babylon/Cameras/babylon.deviceOrientationCamera.js"></script>
-  <script src="Babylon/Cameras/babylon.arcRotateCamera.js"></script>
-  <script src="Babylon/Cameras/babylon.touchCamera.js"></script>
-  <script src="Babylon/Cameras/babylon.freeCamera.js"></script>
-  <script src="Babylon/Cameras/babylon.followCamera.js"></script>
-  <script src="Babylon/Cameras/babylon.targetCamera.js"></script>
-  <script src="Babylon/Cameras/babylon.camera.js"></script>
-  <script src="Babylon/Collisions/babylon.collider.js"></script>
-  <script src="Babylon/Collisions/babylon.collisionCoordinator.js"></script>
-  <script src="Babylon/Lights//Shadows/babylon.shadowGenerator.js"></script>
-  <script src="Babylon/Lights/babylon.directionalLight.js"></script>
-  <script src="Babylon/Lights/babylon.hemisphericLight.js"></script>
-  <script src="Babylon/Lights/babylon.spotlight.js"></script>
-  <script src="Babylon/Lights/babylon.pointLight.js"></script>
-  <script src="Babylon/Lights/babylon.light.js"></script>
-  <script src="Babylon/Mesh/babylon.AbstractMesh.js"></script>
-  <script src="Babylon/Collisions/babylon.pickingInfo.js"></script>
-  <script src="Babylon/Culling/babylon.boundingInfo.js"></script>
-  <script src="Babylon/Culling/babylon.boundingBox.js"></script>
-  <script src="Babylon/Culling/babylon.boundingSphere.js"></script>
-  <script src="Babylon/Tools/babylon.filesInput.js"></script>
-  <script src="Babylon/babylon.node.js"></script>
-  <script src="Babylon/babylon.engine.js"></script>
-  <script src="Babylon/Tools/babylon.tools.js"></script>
-  <script src="Babylon/Tools/babylon.smartArray.js"></script>
-  <script src="Babylon/Tools/babylon.smartCollection.js"></script>
-  <script src="Babylon/Tools/babylon.tools.dds.js"></script>
-  <script src="Babylon/Tools/babylon.tools.tga.js"></script>
-  <script src="Babylon/Tools/babylon.database.js"></script>
-  <script src="Babylon/Math/babylon.math.js"></script>
-</files>

+ 0 - 60
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/babylonJS.xsd

@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude">
-
-  <xsd:import namespace="http://www.w3.org/2001/XInclude" schemaLocation="http://www.w3.org/2001/XInclude" />
-  
-  <!-- <files> -->
-  <xsd:element name="files">
-    <xsd:complexType>
-      <xsd:sequence minOccurs="0">
-        <xsd:element ref="xi:include" minOccurs="0" maxOccurs="unbounded" />
-        <xsd:element ref="script" minOccurs="0" maxOccurs="unbounded" />
-      </xsd:sequence>
-    </xsd:complexType>
-    <xsd:unique name="UniqueSrc">
-      <xsd:selector xpath="./script" />
-      <xsd:field xpath="@src" />
-    </xsd:unique>
-  </xsd:element>
-  <!-- </files> -->
-
-  <!-- END ROOT -->
-
-  <!-- FIRST LEVEL -->
-
-  <!-- <script> -->
-  <xsd:element name="script">
-    <xsd:complexType>
-      <xsd:sequence minOccurs="0">
-       <xsd:element ref="dependsOn" minOccurs="0" maxOccurs="unbounded" />
-      </xsd:sequence>
-      <xsd:attribute name="id" type="xsd:ID" use="optional" />
-      <xsd:attribute name="src" type="xsd:token" use="required" />
-    </xsd:complexType>
-    <xsd:key name="refScript">
-      <xsd:selector xpath="./script" />
-      <xsd:field xpath="@id"/>
-    </xsd:key>
-  </xsd:element>
-  <!-- </script> -->
-
-  <!-- END FIRST LEVEL -->
-
-  <!-- SECOND LEVEL -->
-
-  <!-- <dependsOn> -->
-  <xsd:element name="dependsOn">
-    <xsd:complexType>
-      <xsd:attribute name="scriptref" type="xsd:IDREF" use="required" />
-    </xsd:complexType>
-    <xsd:keyref name="keyrefScript" refer="refScript">
-      <xsd:selector xpath="./script/dependsOn" />
-      <xsd:field xpath="@scriptref" />
-    </xsd:keyref>
-  </xsd:element>
-  <!-- </dependsOn> -->
-
-  <!-- END SECOND LEVEL -->
-  
-</xsd:schema>
-

+ 0 - 2
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.bat

@@ -1,2 +0,0 @@
-BuildOurOwnBabylonJS.exe /w:"..\..\..\.." /i:"..\ourOwnBabylonJS.xml" /s:"Babylon\Shaders" /o:".." /k:"."
-pause

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/BuildOurOwnBabylonJS.exe


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/JSKompactor.exe


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/executables/Mvp.Xml.dll


Plik diff jest za duży
+ 0 - 26318
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylon.js


+ 0 - 9
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJS/ourOwnBabylonJS.xml

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<files xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="babylonJS.xsd">
-  <xi:include href="babylonJS.xml" xpointer="xpointer(//files//script)" />
-  <!-- you cannot override a <script> already defined in babylon.xml. You must modify it in babylon.js
-  to be sure that everyone will have it -->
-  <!--<script id="myFile" src="myFile.js">
-    <dependsOn scriptref="Node" />
-  </script>-->
-</files>

+ 0 - 221
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/BuildOurOwnBabylonJSServer.csproj

@@ -1,221 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>
-    </ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{93EF5B02-72EB-4B55-831E-E5051269EDA6}</ProjectGuid>
-    <ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>BuildOurOwnBabylonJSServer</RootNamespace>
-    <AssemblyName>BuildOurOwnBabylonJSServer</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <MvcBuildViews>false</MvcBuildViews>
-    <UseIISExpress>false</UseIISExpress>
-    <MvcProjectUpgradeChecked>true</MvcProjectUpgradeChecked>
-    <FileUpgradeFlags>
-    </FileUpgradeFlags>
-    <UpgradeBackupLocation>
-    </UpgradeBackupLocation>
-    <OldToolsVersion>4.0</OldToolsVersion>
-    <IISExpressSSLPort />
-    <IISExpressAnonymousAuthentication />
-    <IISExpressWindowsAuthentication />
-    <IISExpressUseClassicPipelineMode />
-    <TargetFrameworkProfile />
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <Prefer32Bit>false</Prefer32Bit>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <PlatformTarget>x86</PlatformTarget>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <Prefer32Bit>false</Prefer32Bit>
-  </PropertyGroup>
-  <PropertyGroup>
-    <RunPostBuildEvent>Always</RunPostBuildEvent>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="Newtonsoft.Json">
-      <HintPath>..\packages\Newtonsoft.Json.6.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="System.Data.Entity" />
-    <Reference Include="System" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Drawing" />
-    <Reference Include="System.Web.DynamicData" />
-    <Reference Include="System.Web.Entity" />
-    <Reference Include="System.Web.ApplicationServices" />
-    <Reference Include="System.ComponentModel.DataAnnotations" />
-    <Reference Include="System.Web.Extensions" />
-    <Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
-    <Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
-    <Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
-    <Reference Include="System.Web" />
-    <Reference Include="System.Web.Abstractions" />
-    <Reference Include="System.Web.Routing" />
-    <Reference Include="System.Xml" />
-    <Reference Include="System.Configuration" />
-    <Reference Include="System.Web.Services" />
-    <Reference Include="System.EnterpriseServices" />
-    <Reference Include="System.Xml.Linq" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Controllers\BabylonJSDemoController.cs" />
-    <Compile Include="Controllers\SandBoxController.cs" />
-    <Compile Include="Controllers\OurDemoController.cs" />
-    <Compile Include="ViewModel\OurDemoViewModel.cs" />
-    <Compile Include="WebViewPageExtensions.cs" />
-    <Compile Include="Controllers\HomeController.cs" />
-    <Compile Include="Controllers\BuildOurOwnBabylonJSController.cs" />
-    <Compile Include="Global.asax.cs">
-      <DependentUpon>Global.asax</DependentUpon>
-    </Compile>
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="Content\Loading.css" />
-    <Content Include="Content\Logo.png" />
-    <Content Include="Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" />
-    <Content Include="Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" />
-    <Content Include="Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" />
-    <Content Include="Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" />
-    <Content Include="Content\themes\base\images\ui-bg_glass_75_dadada_1x400.png" />
-    <Content Include="Content\themes\base\images\ui-bg_glass_75_e6e6e6_1x400.png" />
-    <Content Include="Content\themes\base\images\ui-bg_glass_95_fef1ec_1x400.png" />
-    <Content Include="Content\themes\base\images\ui-bg_highlight-soft_75_cccccc_1x100.png" />
-    <Content Include="Content\themes\base\images\ui-icons_222222_256x240.png" />
-    <Content Include="Content\themes\base\images\ui-icons_2e83ff_256x240.png" />
-    <Content Include="Content\themes\base\images\ui-icons_454545_256x240.png" />
-    <Content Include="Content\themes\base\images\ui-icons_888888_256x240.png" />
-    <Content Include="Content\themes\base\images\ui-icons_cd0a0a_256x240.png" />
-    <Content Include="Content\themes\base\jquery.ui.accordion.css" />
-    <Content Include="Content\themes\base\jquery.ui.all.css" />
-    <Content Include="Content\themes\base\jquery.ui.autocomplete.css" />
-    <Content Include="Content\themes\base\jquery.ui.base.css" />
-    <Content Include="Content\themes\base\jquery.ui.button.css" />
-    <Content Include="Content\themes\base\jquery.ui.core.css" />
-    <Content Include="Content\themes\base\jquery.ui.datepicker.css" />
-    <Content Include="Content\themes\base\jquery.ui.dialog.css" />
-    <Content Include="Content\themes\base\jquery.ui.progressbar.css" />
-    <Content Include="Content\themes\base\jquery.ui.resizable.css" />
-    <Content Include="Content\themes\base\jquery.ui.selectable.css" />
-    <Content Include="Content\themes\base\jquery.ui.slider.css" />
-    <Content Include="Content\themes\base\jquery.ui.tabs.css" />
-    <Content Include="Content\themes\base\jquery.ui.theme.css" />
-    <Content Include="$(BabylonJSSamplesDirFullPath)Scenes\**\*.*">
-      <Link>Content\BabylonJS-Demos\%(RecursiveDir)%(Filename)%(Extension)</Link>
-    </Content>
-    <Content Include="Global.asax" />
-    <Content Include="Scripts\jquery-1.5.1-vsdoc.js" />
-    <Content Include="Scripts\jquery-1.5.1.js" />
-    <Content Include="Scripts\jquery-1.5.1.min.js" />
-    <Content Include="Scripts\jquery-ui-1.8.11.js" />
-    <Content Include="Scripts\jquery-ui-1.8.11.min.js" />
-    <Content Include="Scripts\jquery.validate-vsdoc.js" />
-    <Content Include="Scripts\jquery.validate.js" />
-    <Content Include="Scripts\jquery.validate.min.js" />
-    <Content Include="Scripts\modernizr-1.7.js" />
-    <Content Include="Scripts\modernizr-1.7.min.js" />
-    <Content Include="Web.config" />
-    <Content Include="Web.Debug.config">
-      <DependentUpon>Web.config</DependentUpon>
-    </Content>
-    <Content Include="Web.Release.config">
-      <DependentUpon>Web.config</DependentUpon>
-    </Content>
-    <Content Include="Content\Site.css" />
-    <Content Include="Scripts\jquery.unobtrusive-ajax.js" />
-    <Content Include="Scripts\jquery.unobtrusive-ajax.min.js" />
-    <Content Include="Scripts\jquery.validate.unobtrusive.js" />
-    <Content Include="Scripts\jquery.validate.unobtrusive.min.js" />
-    <Content Include="Scripts\MicrosoftAjax.js" />
-    <Content Include="Scripts\MicrosoftAjax.debug.js" />
-    <Content Include="Scripts\MicrosoftMvcAjax.js" />
-    <Content Include="Scripts\MicrosoftMvcAjax.debug.js" />
-    <Content Include="Scripts\MicrosoftMvcValidation.js" />
-    <Content Include="Scripts\MicrosoftMvcValidation.debug.js" />
-    <Content Include="Views\_ViewStart.cshtml" />
-    <Content Include="Views\Home\Index.cshtml" />
-    <Content Include="Views\Shared\Error.cshtml" />
-    <Content Include="Views\Shared\_Layout.cshtml" />
-    <Content Include="Views\Web.config" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="packages.config" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="Views\BabylonJSDemo\Index.cshtml" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\BuildOurOwnBabylonJS\BuildOurOwnBabylonJS.csproj">
-      <Project>{CFBE5149-1605-4824-8BD2-55C9B3C1DA60}</Project>
-      <Name>BuildOurOwnBabylonJS</Name>
-      <Private>True</Private>
-    </ProjectReference>
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="Views\SandBox\Index.cshtml" />
-  </ItemGroup>
-  <PropertyGroup>
-    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
-    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
-  </PropertyGroup>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
-  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target> -->
-  <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
-    <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
-  </Target>
-  <ProjectExtensions>
-    <VisualStudio>
-      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
-        <WebProjectProperties>
-          <UseIIS>False</UseIIS>
-          <AutoAssignPort>True</AutoAssignPort>
-          <DevelopmentServerPort>46970</DevelopmentServerPort>
-          <DevelopmentServerVPath>/</DevelopmentServerVPath>
-          <IISUrl>
-          </IISUrl>
-          <NTLMAuthentication>False</NTLMAuthentication>
-          <UseCustomServer>False</UseCustomServer>
-          <CustomServerUrl>
-          </CustomServerUrl>
-          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
-        </WebProjectProperties>
-      </FlavorProperties>
-    </VisualStudio>
-  </ProjectExtensions>
-  <PropertyGroup>
-    <PreBuildEvent>
-    </PreBuildEvent>
-  </PropertyGroup>
-  <PropertyGroup>
-    <PostBuildEvent>"$(SolutionDir)BuildOurOwnBabylonJS\$(OutDir)$(ConfigurationName)\BuildOurOwnBabylonJS.exe" /w:"$(SolutionDir)..\.." /i:"$(SolutionDir)BuildOurOwnBabylonJS\ourOwnBabylonJS.xml" /s:"Babylon\Shaders" /o:"$(SolutionDir)BuildOurOwnBabylonJS"</PostBuildEvent>
-  </PropertyGroup>
-</Project>

+ 0 - 66
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Loading.css

@@ -1,66 +0,0 @@
-#loadingBack {
-    background-color: #FFFFFF;
-    border: 1px solid #888888;
-    cursor: default;
-    height: 60px;
-    left: 0;
-    margin-top: -30px;
-    position: absolute;
-    top: 50%;
-    transition: transform 0.25s ease-in-out 0s;
-    width: 100%;
-    z-index: 3;
-}
-.loadingBack {
-    transform: translateX(-120%);
-    -webkit-transform: translate(-120%);
-}
-
-
-#loadingText {
-    color: #888888;
-    cursor: default;
-    font-size: 30px;
-    height: 60px;
-    left: 0;
-    margin-top: -30px;
-    padding-top: 10px;
-    position: absolute;
-    text-align: center;
-    top: 50%;
-    transition: transform 0.25s ease-in-out 0s;
-    width: 100%;
-    z-index: 3;
-}
-.loadingText {
-    transform: translateX(120%);
-    -webkit-transform: translate(120%);
-}
-
-#loadingInfos {
-    color: #888888;
-    cursor: default;
-    font-size: 30px;
-    height: 60px;
-    left: 0;
-    margin-top: -30px;
-    padding-top: 10px;
-    position: absolute;
-    text-align: center;
-    bottom: 0;
-    transition: transform 0.25s ease-in-out 0s;
-    width: calc(100% - 10px);
-    z-index: 3;
-    border: 5px dotted gray;
-    pointer-events: none;
-}
-
-#loadingInfos .content {
-    position: relative;
-    top: 50%;
-}
-
-.loadingInfos {
-    transform: translateX(120%);
-    -webkit-transform: translate(120%);
-}

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Logo.png


+ 0 - 248
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Site.css

@@ -1,248 +0,0 @@
-/*----------------------------------------------------------
-The base color for this template is #5c87b2. If you'd like
-to use a different color start by replacing all instances of
-#5c87b2 with your new color.
-----------------------------------------------------------*/
-
-body {
-    background-color: #000;
-    font-size: .85em;
-    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
-    margin: 0;
-    padding: 0;
-    color: #696969;
-}
-
-a:link {
-    color: #034af3;
-    text-decoration: underline;
-}
-
-a:visited {
-    color: #505abc;
-}
-
-a:hover {
-    color: #1d60ff;
-    text-decoration: none;
-}
-
-a:active {
-    color: #12eb87;
-}
-
-p, ul {
-    margin-bottom: 20px;
-    line-height: 1.6em;
-}
-
-/* HEADINGS   
-----------------------------------------------------------*/
-h1, h2, h3, h4, h5, h6 {
-    font-size: 1.5em;
-    color: #000;
-}
-
-h1 {
-    font-size: 2em;
-    padding-bottom: 0;
-    margin-bottom: 0;
-}
-
-h2 {
-    padding: 0 0 10px 0;
-}
-
-h3 {
-    font-size: 1.2em;
-}
-
-h4 {
-    font-size: 1.1em;
-}
-
-h5, h6 {
-    font-size: 1em;
-}
-
-/* PRIMARY LAYOUT ELEMENTS   
-----------------------------------------------------------*/
-
-/* you can specify a greater or lesser percentage for the 
-page width. Or, you can specify an exact pixel width. */
-
-#main
-{
-    overflow: hidden;
-    position: absolute;
-    top: 0;
-    right: 0;
-    bottom: 0;
-    left: 0;
-    padding-top: 100px;
-}
-
-#title
-{
-    height: 100px;
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-}
-
-#title h1 {
-    font-weight: bold;
-    padding: 5px 0;
-    padding-left: 15px;
-    margin: 0;
-    color: #fff;
-    border: none;
-    line-height: 2em;
-    font-size: 32px !important;
-    text-shadow: 1px 1px 2px #111;
-}
-
-#title #menu 
-{
-    text-align: center;
-    color: white;
-}
-
-#title #menu a
-{
-    color: white;
-}
-
-#ourOwnBabylonJSCanvas {
-    width: 100%;
-    height: 100%;
-}
-
-#logo 
-{
-    background-color: White;
-    text-align: center;
-    padding: 20px;
-
-/* FORM LAYOUT ELEMENTS   
-----------------------------------------------------------*/
-
-fieldset {
-    border: 1px solid #ddd;
-    padding: 0 1.4em 1.4em 1.4em;
-    margin: 0 0 1.5em 0;
-}
-
-legend {
-    font-size: 1.2em;
-    font-weight: bold;
-}
-
-textarea {
-    min-height: 75px;
-}
-
-input[type="text"], 
-input[type="password"] {
-    border: 1px solid #ccc;
-    padding: 2px;
-    font-size: 1.2em;
-    color: #444;
-    width: 200px;
-}
-
-select {
-    border: 1px solid #ccc;
-    padding: 2px;
-    font-size: 1.2em;
-    color: #444;
-}
-
-input[type="submit"] {
-    font-size: 1.2em;
-    padding: 5px;
-}
-
-/* TABLE
-----------------------------------------------------------*/
-
-table {
-    border: solid 1px #e8eef4;
-    border-collapse: collapse;
-}
-
-table td {
-    padding: 5px;
-    border: solid 1px #e8eef4;
-}
-
-table th {
-    padding: 6px 5px;
-    text-align: left;
-    background-color: #e8eef4;
-    border: solid 1px #e8eef4;
-}
-
-/* MISC  
-----------------------------------------------------------*/
-.clear {
-    clear: both;
-}
-
-.error {
-    color: Red;
-}
-
-div#title {
-    display: block;
-    text-align: left;
-}
-
-/* Styles for validation helpers
------------------------------------------------------------*/
-.field-validation-error {
-    color: #ff0000;
-}
-
-.field-validation-valid {
-    display: none;
-}
-
-.input-validation-error {
-    border: 1px solid #ff0000;
-    background-color: #ffeeee;
-}
-
-.validation-summary-errors {
-    font-weight: bold;
-    color: #ff0000;
-}
-
-.validation-summary-valid {
-    display: none;
-}
-
-/* Styles for editor and display helpers
-----------------------------------------------------------*/
-.display-label, 
-.editor-label {
-    margin: 1em 0 0 0;
-}
-
-.display-field, 
-.editor-field {
-    margin: 0.5em 0 0 0;
-}
-
-.text-box {
-    width: 30em;
-}
-
-.text-box.multi-line {
-    height: 6.5em;
-}
-
-.tri-state {
-    width: 6em;
-}

+ 0 - 9
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/Web.config

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<configuration>
-    <system.webServer>
-        <staticContent>
-            <mimeMap fileExtension=".fx" mimeType="application/shader" />
-            <mimeMap fileExtension=".babylon" mimeType="application/babylon" />
-        </staticContent>
-    </system.webServer>
-</configuration>

BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_222222_256x240.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_2e83ff_256x240.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_454545_256x240.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_888888_256x240.png


BIN
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/images/ui-icons_cd0a0a_256x240.png


+ 0 - 24
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.accordion.css

@@ -1,24 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Accordion 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Accordion#theming
- */
-/* IE/Win - Fix animation bug - #4615 */
-.ui-accordion { width: 100%; }
-.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
-.ui-accordion .ui-accordion-li-fix { display: inline; }
-.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
-.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
-.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
-.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
-.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
-.ui-accordion .ui-accordion-content-active { display: block; }

+ 0 - 16
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.all.css

@@ -1,16 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI CSS Framework 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Theming
- */
-@import "jquery.ui.base.css";
-@import "jquery.ui.theme.css";

+ 0 - 62
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.autocomplete.css

@@ -1,62 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Autocomplete 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- * http://docs.jquery.com/UI/Autocomplete#theming
- */
-.ui-autocomplete { position: absolute; cursor: default; }	
-
-/* workarounds */
-* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
-
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Menu 1.8.11
- *
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Menu#theming
- */
-.ui-menu {
-	list-style:none;
-	padding: 2px;
-	margin: 0;
-	display:block;
-	float: left;
-}
-.ui-menu .ui-menu {
-	margin-top: -3px;
-}
-.ui-menu .ui-menu-item {
-	margin:0;
-	padding: 0;
-	zoom: 1;
-	float: left;
-	clear: left;
-	width: 100%;
-}
-.ui-menu .ui-menu-item a {
-	text-decoration:none;
-	display:block;
-	padding:.2em .4em;
-	line-height:1.5;
-	zoom:1;
-}
-.ui-menu .ui-menu-item a.ui-state-hover,
-.ui-menu .ui-menu-item a.ui-state-active {
-	font-weight: normal;
-	margin: -1px;
-}

+ 0 - 11
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.base.css

@@ -1,11 +0,0 @@
-@import url("jquery.ui.core.css");
-@import url("jquery.ui.resizable.css");
-@import url("jquery.ui.selectable.css");
-@import url("jquery.ui.accordion.css");
-@import url("jquery.ui.autocomplete.css");
-@import url("jquery.ui.button.css");
-@import url("jquery.ui.dialog.css");
-@import url("jquery.ui.slider.css");
-@import url("jquery.ui.tabs.css");
-@import url("jquery.ui.datepicker.css");
-@import url("jquery.ui.progressbar.css");

+ 0 - 43
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.button.css

@@ -1,43 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Button 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Button#theming
- */
-.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
-.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
-button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
-.ui-button-icons-only { width: 3.4em; } 
-button.ui-button-icons-only { width: 3.7em; } 
-
-/*button text element */
-.ui-button .ui-button-text { display: block; line-height: 1.4;  }
-.ui-button-text-only .ui-button-text { padding: .4em 1em; }
-.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
-.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
-.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
-.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
-/* no icon support for input elements, provide padding by default */
-input.ui-button { padding: .4em 1em; }
-
-/*button icon element(s) */
-.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
-.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
-.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
-.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
-
-/*button sets*/
-.ui-buttonset { margin-right: 7px; }
-.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
-
-/* workarounds */
-button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */

+ 0 - 46
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.core.css

@@ -1,46 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI CSS Framework 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Theming/API
- */
-
-/* Layout helpers
-----------------------------------*/
-.ui-helper-hidden { display: none; }
-.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
-.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
-.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-.ui-helper-clearfix { display: inline-block; }
-/* required comment for clearfix to work in Opera \*/
-* html .ui-helper-clearfix { height:1%; }
-.ui-helper-clearfix { display:block; }
-/* end clearfix */
-.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
-
-
-/* Interaction Cues
-----------------------------------*/
-.ui-state-disabled { cursor: default !important; }
-
-
-/* Icons
-----------------------------------*/
-
-/* states and images */
-.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
-
-
-/* Misc visuals
-----------------------------------*/
-
-/* Overlays */
-.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

+ 0 - 73
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.datepicker.css

@@ -1,73 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Datepicker 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Datepicker#theming
- */
-.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
-.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
-.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
-.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
-.ui-datepicker .ui-datepicker-prev { left:2px; }
-.ui-datepicker .ui-datepicker-next { right:2px; }
-.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
-.ui-datepicker .ui-datepicker-next-hover { right:1px; }
-.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
-.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
-.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
-.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
-.ui-datepicker select.ui-datepicker-month, 
-.ui-datepicker select.ui-datepicker-year { width: 49%;}
-.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
-.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
-.ui-datepicker td { border: 0; padding: 1px; }
-.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
-.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
-.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
-.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
-
-/* with multiple calendars */
-.ui-datepicker.ui-datepicker-multi { width:auto; }
-.ui-datepicker-multi .ui-datepicker-group { float:left; }
-.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
-.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
-.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
-.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
-.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
-.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
-.ui-datepicker-row-break { clear:both; width:100%; }
-
-/* RTL support */
-.ui-datepicker-rtl { direction: rtl; }
-.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
-.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
-.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group { float:right; }
-.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
-
-/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
-.ui-datepicker-cover {
-    display: none; /*sorry for IE5*/
-    display/**/: block; /*sorry for IE5*/
-    position: absolute; /*must have*/
-    z-index: -1; /*must have*/
-    filter: mask(); /*must have*/
-    top: -4px; /*must have*/
-    left: -4px; /*must have*/
-    width: 200px; /*must have*/
-    height: 200px; /*must have*/
-}

+ 0 - 26
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.dialog.css

@@ -1,26 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Dialog 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Dialog#theming
- */
-.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
-.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
-.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } 
-.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
-.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
-.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
-.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
-.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
-.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
-.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
-.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
-.ui-draggable .ui-dialog-titlebar { cursor: move; }

+ 0 - 16
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.progressbar.css

@@ -1,16 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Progressbar 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Progressbar#theming
- */
-.ui-progressbar { height:2em; text-align: left; }
-.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }

+ 0 - 25
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.resizable.css

@@ -1,25 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Resizable 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)]
- *
- * http://docs.jquery.com/UI/Resizable#theming
- */
-.ui-resizable { position: relative;}
-.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
-.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
-.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
-.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
-.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
-.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
-.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
-.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
-.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
-.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}

+ 0 - 15
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.selectable.css

@@ -1,15 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Selectable 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Selectable#theming
- */
-.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }

+ 0 - 29
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.slider.css

@@ -1,29 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Slider 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Slider#theming
- */
-.ui-slider { position: relative; text-align: left; }
-.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
-.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
-
-.ui-slider-horizontal { height: .8em; }
-.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
-.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
-.ui-slider-horizontal .ui-slider-range-min { left: 0; }
-.ui-slider-horizontal .ui-slider-range-max { right: 0; }
-
-.ui-slider-vertical { width: .8em; height: 100px; }
-.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
-.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
-.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
-.ui-slider-vertical .ui-slider-range-max { top: 0; }

+ 0 - 23
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.tabs.css

@@ -1,23 +0,0 @@
-/*
- * Note: While Microsoft is not the author of this file, Microsoft is
- * offering you a license subject to the terms of the Microsoft Software
- * License Terms for Microsoft ASP.NET Model View Controller 3.
- * Microsoft reserves all other rights. The notices below are provided
- * for informational purposes only and are not the license terms under
- * which Microsoft distributed this file.
- *
- * jQuery UI Tabs 1.8.11
- *
- * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
- *
- * http://docs.jquery.com/UI/Tabs#theming
- */
-.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
-.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
-.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
-.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
-.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
-.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
-.ui-tabs .ui-tabs-hide { display: none !important; }

Plik diff jest za duży
+ 0 - 257
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Content/themes/base/jquery.ui.theme.css


+ 0 - 19
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/BabylonJSDemoController.cs

@@ -1,19 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-
-namespace BuildOurOwnBabylonJSServer.Controllers
-{
-    public class BabylonJSDemoController : Controller
-    {
-        public ActionResult Index(string demoFolderName, string demoFile)
-        {
-            ViewBag.DemoFolderName = demoFolderName;
-            ViewBag.DemoFile = demoFile;
-            
-            return View();
-        }
-    }
-}

+ 0 - 104
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/BuildOurOwnBabylonJSController.cs

@@ -1,104 +0,0 @@
-using System.Web.Mvc;
-using System.IO;
-using System.Text;
-using System;
-using Newtonsoft.Json.Linq;
-using System.Collections.Generic;
-
-namespace BuildOurOwnBabylonJSServer.Controllers
-{
-    public class BuildOurOwnBabylonJSController : Controller
-    {
-        public const string GetFileContentActionName = "GetFileContent";
-        public const string GetBabylonScenesActionName = "GetBabylonScenes";
-        
-        [ActionName(BuildOurOwnBabylonJSController.GetFileContentActionName)]
-        public ActionResult GetFileContent(string rootPath, string relPath)
-        {
-            try
-            {
-                var babylonJSPath = Path.Combine(Server.MapPath("~"), rootPath);
-
-                var absPath = Path.Combine(babylonJSPath, relPath);
-
-                var type = "";
-                var extension = "";
-
-                if (!String.IsNullOrEmpty(relPath))
-                    extension = Path.GetExtension(relPath).ToLower();
-
-                switch (extension)
-                {
-                    case ".js":
-                    case ".babylon":
-                    case ".manifest":
-                        type = "text/javascript";
-                        break;
-
-                    case ".png":
-                        type = "image/png";
-                        break;
-
-                    case ".jpeg":
-                    case ".jpg":
-                        type = "image/jpeg";
-                        break;
-
-                    case ".bmp":
-                        type = "image/bmp";
-                        break;
-
-                    case ".css":
-                        type = "text/css";
-                        break;
-
-                    default:
-                        type = "text/plain";
-                        break;
-                }
-            
-                return File(new FileStream(absPath, FileMode.Open), type);
-            }
-            catch
-            {
-                return new HttpNotFoundResult();
-            }
-        }
-
-        [ActionName(BuildOurOwnBabylonJSController.GetBabylonScenesActionName)]
-        public string GetBabylonScenes(string rootPath)
-        {
-            try
-            {
-                var dir = new DirectoryInfo(rootPath);
-                var subDirs = dir.GetDirectories();
-                var files = new List<JObject>();
-
-                foreach (var directory in subDirs)
-                {
-                    var babylonFiles = directory.GetFiles("*.babylon");
-
-                    if (babylonFiles.Length == 0)
-                        continue;
-
-                    foreach (var file in babylonFiles)
-                    {
-                        var linkName = directory.Name + "/" + Path.GetFileNameWithoutExtension(file.Name);
-                        files.Add(new JObject(
-                            new JProperty("url", Url.Action("Index", "BabylonJSDemo", new { demoFolderName = directory.Name, demoFile = file.Name })),
-                            new JProperty("linkName", linkName)
-                        ));
-                    }
-                }
-
-                var json = new JObject(new JProperty("files", files));
-                return json.ToString(Newtonsoft.Json.Formatting.None);
-            }
-            catch
-            {
-                var json = new JObject(new JProperty("files", ""));
-                return json.ToString(Newtonsoft.Json.Formatting.None);
-            }
-        }
-    }
-}

+ 0 - 16
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/HomeController.cs

@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-
-namespace BuildOurOwnBabylonJSServer.Controllers
-{
-    public class HomeController : Controller
-    {
-        public ActionResult Index()
-        {
-            return View();
-        }
-    }
-}

+ 0 - 42
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/OurDemoController.cs

@@ -1,42 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-using System.IO;
-using BuildOurOwnBabylonJSServer.ViewModels;
-
-namespace BuildOurOwnBabylonJSServer.Controllers
-{
-    public class OurDemoController : Controller
-    {
-        public ActionResult Show(string viewName, 
-            string folder = "")
-        {
-            var form = Request.Form;
-            var queryString = Request.QueryString;
-            var dictionary = new Dictionary<string, string>(form.Count + queryString.Count);
-
-            var keys = form.AllKeys;
-            
-            foreach(var k in keys)
-            {
-                if (k == "viewName" || k == "folder")
-                    continue;
-                dictionary.Add(k, form.GetValues(k).First());
-            }
-
-            keys = queryString.AllKeys;
-
-            foreach (var k in keys)
-            {
-                if (k == "viewName" || k == "folder")
-                    continue;
-                dictionary.Add(k, queryString.GetValues(k).First());
-            }
-
-            return View(Path.Combine(folder, viewName),
-                new OurDemoViewModel { Folder = folder, Dictionary = dictionary });
-        }
-    }
-}

+ 0 - 16
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Controllers/SandBoxController.cs

@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-
-namespace BuildOurOwnBabylonJSServer.Controllers
-{
-    public class SandBoxController : Controller
-    {
-        public ActionResult Index()
-        {
-            return View();
-        }
-    }
-}

+ 0 - 1
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Global.asax

@@ -1 +0,0 @@
-<%@ Application Codebehind="Global.asax.cs" Inherits="BuildOurOwnBabylonJSServer.MvcApplication" Language="C#" %>

+ 0 - 40
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Global.asax.cs

@@ -1,40 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-using System.Web.Routing;
-
-namespace BuildOurOwnBabylonJSServer
-{
-    // Note: For instructions on enabling IIS6 or IIS7 classic mode, 
-    // visit http://go.microsoft.com/?LinkId=9394801
-
-    public class MvcApplication : System.Web.HttpApplication
-    {
-        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
-        {
-            filters.Add(new HandleErrorAttribute());
-        }
-
-        public static void RegisterRoutes(RouteCollection routes)
-        {
-            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
-
-            routes.MapRoute(
-                "Default", // Route name
-                "{controller}/{action}/{id}", // URL with parameters
-                new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
-            );
-
-        }
-
-        protected void Application_Start()
-        {
-            AreaRegistration.RegisterAllAreas();
-
-            RegisterGlobalFilters(GlobalFilters.Filters);
-            RegisterRoutes(RouteTable.Routes);
-        }
-    }
-}

+ 0 - 35
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Properties/AssemblyInfo.cs

@@ -1,35 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("BuildOurOwnBabylonJSServer")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("BuildOurOwnBabylonJSServer")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("7e395c9d-eab7-469d-bfa7-9127abd4be54")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers 
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]

Plik diff jest za duży
+ 0 - 7117
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftAjax.debug.js


Plik diff jest za duży
+ 0 - 6
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftAjax.js


+ 0 - 408
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcAjax.debug.js

@@ -1,408 +0,0 @@
-//!----------------------------------------------------------
-//! Copyright (C) Microsoft Corporation. All rights reserved.
-//!----------------------------------------------------------
-//! MicrosoftMvcAjax.js
-
-Type.registerNamespace('Sys.Mvc');
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.AjaxOptions
-
-Sys.Mvc.$create_AjaxOptions = function Sys_Mvc_AjaxOptions() { return {}; }
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.InsertionMode
-
-Sys.Mvc.InsertionMode = function() { 
-    /// <field name="replace" type="Number" integer="true" static="true">
-    /// </field>
-    /// <field name="insertBefore" type="Number" integer="true" static="true">
-    /// </field>
-    /// <field name="insertAfter" type="Number" integer="true" static="true">
-    /// </field>
-};
-Sys.Mvc.InsertionMode.prototype = {
-    replace: 0, 
-    insertBefore: 1, 
-    insertAfter: 2
-}
-Sys.Mvc.InsertionMode.registerEnum('Sys.Mvc.InsertionMode', false);
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.AjaxContext
-
-Sys.Mvc.AjaxContext = function Sys_Mvc_AjaxContext(request, updateTarget, loadingElement, insertionMode) {
-    /// <param name="request" type="Sys.Net.WebRequest">
-    /// </param>
-    /// <param name="updateTarget" type="Object" domElement="true">
-    /// </param>
-    /// <param name="loadingElement" type="Object" domElement="true">
-    /// </param>
-    /// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
-    /// </param>
-    /// <field name="_insertionMode" type="Sys.Mvc.InsertionMode">
-    /// </field>
-    /// <field name="_loadingElement" type="Object" domElement="true">
-    /// </field>
-    /// <field name="_response" type="Sys.Net.WebRequestExecutor">
-    /// </field>
-    /// <field name="_request" type="Sys.Net.WebRequest">
-    /// </field>
-    /// <field name="_updateTarget" type="Object" domElement="true">
-    /// </field>
-    this._request = request;
-    this._updateTarget = updateTarget;
-    this._loadingElement = loadingElement;
-    this._insertionMode = insertionMode;
-}
-Sys.Mvc.AjaxContext.prototype = {
-    _insertionMode: 0,
-    _loadingElement: null,
-    _response: null,
-    _request: null,
-    _updateTarget: null,
-    
-    get_data: function Sys_Mvc_AjaxContext$get_data() {
-        /// <value type="String"></value>
-        if (this._response) {
-            return this._response.get_responseData();
-        }
-        else {
-            return null;
-        }
-    },
-    
-    get_insertionMode: function Sys_Mvc_AjaxContext$get_insertionMode() {
-        /// <value type="Sys.Mvc.InsertionMode"></value>
-        return this._insertionMode;
-    },
-    
-    get_loadingElement: function Sys_Mvc_AjaxContext$get_loadingElement() {
-        /// <value type="Object" domElement="true"></value>
-        return this._loadingElement;
-    },
-    
-    get_object: function Sys_Mvc_AjaxContext$get_object() {
-        /// <value type="Object"></value>
-        var executor = this.get_response();
-        return (executor) ? executor.get_object() : null;
-    },
-    
-    get_response: function Sys_Mvc_AjaxContext$get_response() {
-        /// <value type="Sys.Net.WebRequestExecutor"></value>
-        return this._response;
-    },
-    set_response: function Sys_Mvc_AjaxContext$set_response(value) {
-        /// <value type="Sys.Net.WebRequestExecutor"></value>
-        this._response = value;
-        return value;
-    },
-    
-    get_request: function Sys_Mvc_AjaxContext$get_request() {
-        /// <value type="Sys.Net.WebRequest"></value>
-        return this._request;
-    },
-    
-    get_updateTarget: function Sys_Mvc_AjaxContext$get_updateTarget() {
-        /// <value type="Object" domElement="true"></value>
-        return this._updateTarget;
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.AsyncHyperlink
-
-Sys.Mvc.AsyncHyperlink = function Sys_Mvc_AsyncHyperlink() {
-}
-Sys.Mvc.AsyncHyperlink.handleClick = function Sys_Mvc_AsyncHyperlink$handleClick(anchor, evt, ajaxOptions) {
-    /// <param name="anchor" type="Object" domElement="true">
-    /// </param>
-    /// <param name="evt" type="Sys.UI.DomEvent">
-    /// </param>
-    /// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
-    /// </param>
-    evt.preventDefault();
-    Sys.Mvc.MvcHelpers._asyncRequest(anchor.href, 'post', '', anchor, ajaxOptions);
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.MvcHelpers
-
-Sys.Mvc.MvcHelpers = function Sys_Mvc_MvcHelpers() {
-}
-Sys.Mvc.MvcHelpers._serializeSubmitButton = function Sys_Mvc_MvcHelpers$_serializeSubmitButton(element, offsetX, offsetY) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <param name="offsetX" type="Number" integer="true">
-    /// </param>
-    /// <param name="offsetY" type="Number" integer="true">
-    /// </param>
-    /// <returns type="String"></returns>
-    if (element.disabled) {
-        return null;
-    }
-    var name = element.name;
-    if (name) {
-        var tagName = element.tagName.toUpperCase();
-        var encodedName = encodeURIComponent(name);
-        var inputElement = element;
-        if (tagName === 'INPUT') {
-            var type = inputElement.type;
-            if (type === 'submit') {
-                return encodedName + '=' + encodeURIComponent(inputElement.value);
-            }
-            else if (type === 'image') {
-                return encodedName + '.x=' + offsetX + '&' + encodedName + '.y=' + offsetY;
-            }
-        }
-        else if ((tagName === 'BUTTON') && (name.length) && (inputElement.type === 'submit')) {
-            return encodedName + '=' + encodeURIComponent(inputElement.value);
-        }
-    }
-    return null;
-}
-Sys.Mvc.MvcHelpers._serializeForm = function Sys_Mvc_MvcHelpers$_serializeForm(form) {
-    /// <param name="form" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="String"></returns>
-    var formElements = form.elements;
-    var formBody = new Sys.StringBuilder();
-    var count = formElements.length;
-    for (var i = 0; i < count; i++) {
-        var element = formElements[i];
-        var name = element.name;
-        if (!name || !name.length) {
-            continue;
-        }
-        var tagName = element.tagName.toUpperCase();
-        if (tagName === 'INPUT') {
-            var inputElement = element;
-            var type = inputElement.type;
-            if ((type === 'text') || (type === 'password') || (type === 'hidden') || (((type === 'checkbox') || (type === 'radio')) && element.checked)) {
-                formBody.append(encodeURIComponent(name));
-                formBody.append('=');
-                formBody.append(encodeURIComponent(inputElement.value));
-                formBody.append('&');
-            }
-        }
-        else if (tagName === 'SELECT') {
-            var selectElement = element;
-            var optionCount = selectElement.options.length;
-            for (var j = 0; j < optionCount; j++) {
-                var optionElement = selectElement.options[j];
-                if (optionElement.selected) {
-                    formBody.append(encodeURIComponent(name));
-                    formBody.append('=');
-                    formBody.append(encodeURIComponent(optionElement.value));
-                    formBody.append('&');
-                }
-            }
-        }
-        else if (tagName === 'TEXTAREA') {
-            formBody.append(encodeURIComponent(name));
-            formBody.append('=');
-            formBody.append(encodeURIComponent((element.value)));
-            formBody.append('&');
-        }
-    }
-    var additionalInput = form._additionalInput;
-    if (additionalInput) {
-        formBody.append(additionalInput);
-        formBody.append('&');
-    }
-    return formBody.toString();
-}
-Sys.Mvc.MvcHelpers._asyncRequest = function Sys_Mvc_MvcHelpers$_asyncRequest(url, verb, body, triggerElement, ajaxOptions) {
-    /// <param name="url" type="String">
-    /// </param>
-    /// <param name="verb" type="String">
-    /// </param>
-    /// <param name="body" type="String">
-    /// </param>
-    /// <param name="triggerElement" type="Object" domElement="true">
-    /// </param>
-    /// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
-    /// </param>
-    if (ajaxOptions.confirm) {
-        if (!confirm(ajaxOptions.confirm)) {
-            return;
-        }
-    }
-    if (ajaxOptions.url) {
-        url = ajaxOptions.url;
-    }
-    if (ajaxOptions.httpMethod) {
-        verb = ajaxOptions.httpMethod;
-    }
-    if (body.length > 0 && !body.endsWith('&')) {
-        body += '&';
-    }
-    body += 'X-Requested-With=XMLHttpRequest';
-    var upperCaseVerb = verb.toUpperCase();
-    var isGetOrPost = (upperCaseVerb === 'GET' || upperCaseVerb === 'POST');
-    if (!isGetOrPost) {
-        body += '&';
-        body += 'X-HTTP-Method-Override=' + upperCaseVerb;
-    }
-    var requestBody = '';
-    if (upperCaseVerb === 'GET' || upperCaseVerb === 'DELETE') {
-        if (url.indexOf('?') > -1) {
-            if (!url.endsWith('&')) {
-                url += '&';
-            }
-            url += body;
-        }
-        else {
-            url += '?';
-            url += body;
-        }
-    }
-    else {
-        requestBody = body;
-    }
-    var request = new Sys.Net.WebRequest();
-    request.set_url(url);
-    if (isGetOrPost) {
-        request.set_httpVerb(verb);
-    }
-    else {
-        request.set_httpVerb('POST');
-        request.get_headers()['X-HTTP-Method-Override'] = upperCaseVerb;
-    }
-    request.set_body(requestBody);
-    if (verb.toUpperCase() === 'PUT') {
-        request.get_headers()['Content-Type'] = 'application/x-www-form-urlencoded;';
-    }
-    request.get_headers()['X-Requested-With'] = 'XMLHttpRequest';
-    var updateElement = null;
-    if (ajaxOptions.updateTargetId) {
-        updateElement = $get(ajaxOptions.updateTargetId);
-    }
-    var loadingElement = null;
-    if (ajaxOptions.loadingElementId) {
-        loadingElement = $get(ajaxOptions.loadingElementId);
-    }
-    var ajaxContext = new Sys.Mvc.AjaxContext(request, updateElement, loadingElement, ajaxOptions.insertionMode);
-    var continueRequest = true;
-    if (ajaxOptions.onBegin) {
-        continueRequest = ajaxOptions.onBegin(ajaxContext) !== false;
-    }
-    if (loadingElement) {
-        Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), true);
-    }
-    if (continueRequest) {
-        request.add_completed(Function.createDelegate(null, function(executor) {
-            Sys.Mvc.MvcHelpers._onComplete(request, ajaxOptions, ajaxContext);
-        }));
-        request.invoke();
-    }
-}
-Sys.Mvc.MvcHelpers._onComplete = function Sys_Mvc_MvcHelpers$_onComplete(request, ajaxOptions, ajaxContext) {
-    /// <param name="request" type="Sys.Net.WebRequest">
-    /// </param>
-    /// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
-    /// </param>
-    /// <param name="ajaxContext" type="Sys.Mvc.AjaxContext">
-    /// </param>
-    ajaxContext.set_response(request.get_executor());
-    if (ajaxOptions.onComplete && ajaxOptions.onComplete(ajaxContext) === false) {
-        return;
-    }
-    var statusCode = ajaxContext.get_response().get_statusCode();
-    if ((statusCode >= 200 && statusCode < 300) || statusCode === 304 || statusCode === 1223) {
-        if (statusCode !== 204 && statusCode !== 304 && statusCode !== 1223) {
-            var contentType = ajaxContext.get_response().getResponseHeader('Content-Type');
-            if ((contentType) && (contentType.indexOf('application/x-javascript') !== -1)) {
-                eval(ajaxContext.get_data());
-            }
-            else {
-                Sys.Mvc.MvcHelpers.updateDomElement(ajaxContext.get_updateTarget(), ajaxContext.get_insertionMode(), ajaxContext.get_data());
-            }
-        }
-        if (ajaxOptions.onSuccess) {
-            ajaxOptions.onSuccess(ajaxContext);
-        }
-    }
-    else {
-        if (ajaxOptions.onFailure) {
-            ajaxOptions.onFailure(ajaxContext);
-        }
-    }
-    if (ajaxContext.get_loadingElement()) {
-        Sys.UI.DomElement.setVisible(ajaxContext.get_loadingElement(), false);
-    }
-}
-Sys.Mvc.MvcHelpers.updateDomElement = function Sys_Mvc_MvcHelpers$updateDomElement(target, insertionMode, content) {
-    /// <param name="target" type="Object" domElement="true">
-    /// </param>
-    /// <param name="insertionMode" type="Sys.Mvc.InsertionMode">
-    /// </param>
-    /// <param name="content" type="String">
-    /// </param>
-    if (target) {
-        switch (insertionMode) {
-            case Sys.Mvc.InsertionMode.replace:
-                target.innerHTML = content;
-                break;
-            case Sys.Mvc.InsertionMode.insertBefore:
-                if (content && content.length > 0) {
-                    target.innerHTML = content + target.innerHTML.trimStart();
-                }
-                break;
-            case Sys.Mvc.InsertionMode.insertAfter:
-                if (content && content.length > 0) {
-                    target.innerHTML = target.innerHTML.trimEnd() + content;
-                }
-                break;
-        }
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.AsyncForm
-
-Sys.Mvc.AsyncForm = function Sys_Mvc_AsyncForm() {
-}
-Sys.Mvc.AsyncForm.handleClick = function Sys_Mvc_AsyncForm$handleClick(form, evt) {
-    /// <param name="form" type="Object" domElement="true">
-    /// </param>
-    /// <param name="evt" type="Sys.UI.DomEvent">
-    /// </param>
-    var additionalInput = Sys.Mvc.MvcHelpers._serializeSubmitButton(evt.target, evt.offsetX, evt.offsetY);
-    form._additionalInput = additionalInput;
-}
-Sys.Mvc.AsyncForm.handleSubmit = function Sys_Mvc_AsyncForm$handleSubmit(form, evt, ajaxOptions) {
-    /// <param name="form" type="Object" domElement="true">
-    /// </param>
-    /// <param name="evt" type="Sys.UI.DomEvent">
-    /// </param>
-    /// <param name="ajaxOptions" type="Sys.Mvc.AjaxOptions">
-    /// </param>
-    evt.preventDefault();
-    var validationCallbacks = form.validationCallbacks;
-    if (validationCallbacks) {
-        for (var i = 0; i < validationCallbacks.length; i++) {
-            var callback = validationCallbacks[i];
-            if (!callback()) {
-                return;
-            }
-        }
-    }
-    var body = Sys.Mvc.MvcHelpers._serializeForm(form);
-    Sys.Mvc.MvcHelpers._asyncRequest(form.action, form.method || 'post', body, form, ajaxOptions);
-}
-
-
-Sys.Mvc.AjaxContext.registerClass('Sys.Mvc.AjaxContext');
-Sys.Mvc.AsyncHyperlink.registerClass('Sys.Mvc.AsyncHyperlink');
-Sys.Mvc.MvcHelpers.registerClass('Sys.Mvc.MvcHelpers');
-Sys.Mvc.AsyncForm.registerClass('Sys.Mvc.AsyncForm');
-
-// ---- Do not remove this footer ----
-// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
-// -----------------------------------

Plik diff jest za duży
+ 0 - 25
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcAjax.js


+ 0 - 883
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcValidation.debug.js

@@ -1,883 +0,0 @@
-//!----------------------------------------------------------
-//! Copyright (C) Microsoft Corporation. All rights reserved.
-//!----------------------------------------------------------
-//! MicrosoftMvcValidation.js
-
-
-Type.registerNamespace('Sys.Mvc');
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.Validation
-
-Sys.Mvc.$create_Validation = function Sys_Mvc_Validation() { return {}; }
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.JsonValidationField
-
-Sys.Mvc.$create_JsonValidationField = function Sys_Mvc_JsonValidationField() { return {}; }
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.JsonValidationOptions
-
-Sys.Mvc.$create_JsonValidationOptions = function Sys_Mvc_JsonValidationOptions() { return {}; }
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.JsonValidationRule
-
-Sys.Mvc.$create_JsonValidationRule = function Sys_Mvc_JsonValidationRule() { return {}; }
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.ValidationContext
-
-Sys.Mvc.$create_ValidationContext = function Sys_Mvc_ValidationContext() { return {}; }
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.NumberValidator
-
-Sys.Mvc.NumberValidator = function Sys_Mvc_NumberValidator() {
-}
-Sys.Mvc.NumberValidator.create = function Sys_Mvc_NumberValidator$create(rule) {
-    /// <param name="rule" type="Sys.Mvc.JsonValidationRule">
-    /// </param>
-    /// <returns type="Sys.Mvc.Validator"></returns>
-    return Function.createDelegate(new Sys.Mvc.NumberValidator(), new Sys.Mvc.NumberValidator().validate);
-}
-Sys.Mvc.NumberValidator.prototype = {
-    
-    validate: function Sys_Mvc_NumberValidator$validate(value, context) {
-        /// <param name="value" type="String">
-        /// </param>
-        /// <param name="context" type="Sys.Mvc.ValidationContext">
-        /// </param>
-        /// <returns type="Object"></returns>
-        if (Sys.Mvc._validationUtil.stringIsNullOrEmpty(value)) {
-            return true;
-        }
-        var n = Number.parseLocale(value);
-        return (!isNaN(n));
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.FormContext
-
-Sys.Mvc.FormContext = function Sys_Mvc_FormContext(formElement, validationSummaryElement) {
-    /// <param name="formElement" type="Object" domElement="true">
-    /// </param>
-    /// <param name="validationSummaryElement" type="Object" domElement="true">
-    /// </param>
-    /// <field name="_validationSummaryErrorCss" type="String" static="true">
-    /// </field>
-    /// <field name="_validationSummaryValidCss" type="String" static="true">
-    /// </field>
-    /// <field name="_formValidationTag" type="String" static="true">
-    /// </field>
-    /// <field name="_onClickHandler" type="Sys.UI.DomEventHandler">
-    /// </field>
-    /// <field name="_onSubmitHandler" type="Sys.UI.DomEventHandler">
-    /// </field>
-    /// <field name="_errors" type="Array">
-    /// </field>
-    /// <field name="_submitButtonClicked" type="Object" domElement="true">
-    /// </field>
-    /// <field name="_validationSummaryElement" type="Object" domElement="true">
-    /// </field>
-    /// <field name="_validationSummaryULElement" type="Object" domElement="true">
-    /// </field>
-    /// <field name="fields" type="Array" elementType="FieldContext">
-    /// </field>
-    /// <field name="_formElement" type="Object" domElement="true">
-    /// </field>
-    /// <field name="replaceValidationSummary" type="Boolean">
-    /// </field>
-    this._errors = [];
-    this.fields = new Array(0);
-    this._formElement = formElement;
-    this._validationSummaryElement = validationSummaryElement;
-    formElement[Sys.Mvc.FormContext._formValidationTag] = this;
-    if (validationSummaryElement) {
-        var ulElements = validationSummaryElement.getElementsByTagName('ul');
-        if (ulElements.length > 0) {
-            this._validationSummaryULElement = ulElements[0];
-        }
-    }
-    this._onClickHandler = Function.createDelegate(this, this._form_OnClick);
-    this._onSubmitHandler = Function.createDelegate(this, this._form_OnSubmit);
-}
-Sys.Mvc.FormContext._Application_Load = function Sys_Mvc_FormContext$_Application_Load() {
-    var allFormOptions = window.mvcClientValidationMetadata;
-    if (allFormOptions) {
-        while (allFormOptions.length > 0) {
-            var thisFormOptions = allFormOptions.pop();
-            Sys.Mvc.FormContext._parseJsonOptions(thisFormOptions);
-        }
-    }
-}
-Sys.Mvc.FormContext._getFormElementsWithName = function Sys_Mvc_FormContext$_getFormElementsWithName(formElement, name) {
-    /// <param name="formElement" type="Object" domElement="true">
-    /// </param>
-    /// <param name="name" type="String">
-    /// </param>
-    /// <returns type="Array" elementType="Object" elementDomElement="true"></returns>
-    var allElementsWithNameInForm = [];
-    var allElementsWithName = document.getElementsByName(name);
-    for (var i = 0; i < allElementsWithName.length; i++) {
-        var thisElement = allElementsWithName[i];
-        if (Sys.Mvc.FormContext._isElementInHierarchy(formElement, thisElement)) {
-            Array.add(allElementsWithNameInForm, thisElement);
-        }
-    }
-    return allElementsWithNameInForm;
-}
-Sys.Mvc.FormContext.getValidationForForm = function Sys_Mvc_FormContext$getValidationForForm(formElement) {
-    /// <param name="formElement" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="Sys.Mvc.FormContext"></returns>
-    return formElement[Sys.Mvc.FormContext._formValidationTag];
-}
-Sys.Mvc.FormContext._isElementInHierarchy = function Sys_Mvc_FormContext$_isElementInHierarchy(parent, child) {
-    /// <param name="parent" type="Object" domElement="true">
-    /// </param>
-    /// <param name="child" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    while (child) {
-        if (parent === child) {
-            return true;
-        }
-        child = child.parentNode;
-    }
-    return false;
-}
-Sys.Mvc.FormContext._parseJsonOptions = function Sys_Mvc_FormContext$_parseJsonOptions(options) {
-    /// <param name="options" type="Sys.Mvc.JsonValidationOptions">
-    /// </param>
-    /// <returns type="Sys.Mvc.FormContext"></returns>
-    var formElement = $get(options.FormId);
-    var validationSummaryElement = (!Sys.Mvc._validationUtil.stringIsNullOrEmpty(options.ValidationSummaryId)) ? $get(options.ValidationSummaryId) : null;
-    var formContext = new Sys.Mvc.FormContext(formElement, validationSummaryElement);
-    formContext.enableDynamicValidation();
-    formContext.replaceValidationSummary = options.ReplaceValidationSummary;
-    for (var i = 0; i < options.Fields.length; i++) {
-        var field = options.Fields[i];
-        var fieldElements = Sys.Mvc.FormContext._getFormElementsWithName(formElement, field.FieldName);
-        var validationMessageElement = (!Sys.Mvc._validationUtil.stringIsNullOrEmpty(field.ValidationMessageId)) ? $get(field.ValidationMessageId) : null;
-        var fieldContext = new Sys.Mvc.FieldContext(formContext);
-        Array.addRange(fieldContext.elements, fieldElements);
-        fieldContext.validationMessageElement = validationMessageElement;
-        fieldContext.replaceValidationMessageContents = field.ReplaceValidationMessageContents;
-        for (var j = 0; j < field.ValidationRules.length; j++) {
-            var rule = field.ValidationRules[j];
-            var validator = Sys.Mvc.ValidatorRegistry.getValidator(rule);
-            if (validator) {
-                var validation = Sys.Mvc.$create_Validation();
-                validation.fieldErrorMessage = rule.ErrorMessage;
-                validation.validator = validator;
-                Array.add(fieldContext.validations, validation);
-            }
-        }
-        fieldContext.enableDynamicValidation();
-        Array.add(formContext.fields, fieldContext);
-    }
-    var registeredValidatorCallbacks = formElement.validationCallbacks;
-    if (!registeredValidatorCallbacks) {
-        registeredValidatorCallbacks = [];
-        formElement.validationCallbacks = registeredValidatorCallbacks;
-    }
-    registeredValidatorCallbacks.push(Function.createDelegate(null, function() {
-        return Sys.Mvc._validationUtil.arrayIsNullOrEmpty(formContext.validate('submit'));
-    }));
-    return formContext;
-}
-Sys.Mvc.FormContext.prototype = {
-    _onClickHandler: null,
-    _onSubmitHandler: null,
-    _submitButtonClicked: null,
-    _validationSummaryElement: null,
-    _validationSummaryULElement: null,
-    _formElement: null,
-    replaceValidationSummary: false,
-    
-    addError: function Sys_Mvc_FormContext$addError(message) {
-        /// <param name="message" type="String">
-        /// </param>
-        this.addErrors([ message ]);
-    },
-    
-    addErrors: function Sys_Mvc_FormContext$addErrors(messages) {
-        /// <param name="messages" type="Array" elementType="String">
-        /// </param>
-        if (!Sys.Mvc._validationUtil.arrayIsNullOrEmpty(messages)) {
-            Array.addRange(this._errors, messages);
-            this._onErrorCountChanged();
-        }
-    },
-    
-    clearErrors: function Sys_Mvc_FormContext$clearErrors() {
-        Array.clear(this._errors);
-        this._onErrorCountChanged();
-    },
-    
-    _displayError: function Sys_Mvc_FormContext$_displayError() {
-        if (this._validationSummaryElement) {
-            if (this._validationSummaryULElement) {
-                Sys.Mvc._validationUtil.removeAllChildren(this._validationSummaryULElement);
-                for (var i = 0; i < this._errors.length; i++) {
-                    var liElement = document.createElement('li');
-                    Sys.Mvc._validationUtil.setInnerText(liElement, this._errors[i]);
-                    this._validationSummaryULElement.appendChild(liElement);
-                }
-            }
-            Sys.UI.DomElement.removeCssClass(this._validationSummaryElement, Sys.Mvc.FormContext._validationSummaryValidCss);
-            Sys.UI.DomElement.addCssClass(this._validationSummaryElement, Sys.Mvc.FormContext._validationSummaryErrorCss);
-        }
-    },
-    
-    _displaySuccess: function Sys_Mvc_FormContext$_displaySuccess() {
-        var validationSummaryElement = this._validationSummaryElement;
-        if (validationSummaryElement) {
-            var validationSummaryULElement = this._validationSummaryULElement;
-            if (validationSummaryULElement) {
-                validationSummaryULElement.innerHTML = '';
-            }
-            Sys.UI.DomElement.removeCssClass(validationSummaryElement, Sys.Mvc.FormContext._validationSummaryErrorCss);
-            Sys.UI.DomElement.addCssClass(validationSummaryElement, Sys.Mvc.FormContext._validationSummaryValidCss);
-        }
-    },
-    
-    enableDynamicValidation: function Sys_Mvc_FormContext$enableDynamicValidation() {
-        Sys.UI.DomEvent.addHandler(this._formElement, 'click', this._onClickHandler);
-        Sys.UI.DomEvent.addHandler(this._formElement, 'submit', this._onSubmitHandler);
-    },
-    
-    _findSubmitButton: function Sys_Mvc_FormContext$_findSubmitButton(element) {
-        /// <param name="element" type="Object" domElement="true">
-        /// </param>
-        /// <returns type="Object" domElement="true"></returns>
-        if (element.disabled) {
-            return null;
-        }
-        var tagName = element.tagName.toUpperCase();
-        var inputElement = element;
-        if (tagName === 'INPUT') {
-            var type = inputElement.type;
-            if (type === 'submit' || type === 'image') {
-                return inputElement;
-            }
-        }
-        else if ((tagName === 'BUTTON') && (inputElement.type === 'submit')) {
-            return inputElement;
-        }
-        return null;
-    },
-    
-    _form_OnClick: function Sys_Mvc_FormContext$_form_OnClick(e) {
-        /// <param name="e" type="Sys.UI.DomEvent">
-        /// </param>
-        this._submitButtonClicked = this._findSubmitButton(e.target);
-    },
-    
-    _form_OnSubmit: function Sys_Mvc_FormContext$_form_OnSubmit(e) {
-        /// <param name="e" type="Sys.UI.DomEvent">
-        /// </param>
-        var form = e.target;
-        var submitButton = this._submitButtonClicked;
-        if (submitButton && submitButton.disableValidation) {
-            return;
-        }
-        var errorMessages = this.validate('submit');
-        if (!Sys.Mvc._validationUtil.arrayIsNullOrEmpty(errorMessages)) {
-            e.preventDefault();
-        }
-    },
-    
-    _onErrorCountChanged: function Sys_Mvc_FormContext$_onErrorCountChanged() {
-        if (!this._errors.length) {
-            this._displaySuccess();
-        }
-        else {
-            this._displayError();
-        }
-    },
-    
-    validate: function Sys_Mvc_FormContext$validate(eventName) {
-        /// <param name="eventName" type="String">
-        /// </param>
-        /// <returns type="Array" elementType="String"></returns>
-        var fields = this.fields;
-        var errors = [];
-        for (var i = 0; i < fields.length; i++) {
-            var field = fields[i];
-            if (!field.elements[0].disabled) {
-                var thisErrors = field.validate(eventName);
-                if (thisErrors) {
-                    Array.addRange(errors, thisErrors);
-                }
-            }
-        }
-        if (this.replaceValidationSummary) {
-            this.clearErrors();
-            this.addErrors(errors);
-        }
-        return errors;
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.FieldContext
-
-Sys.Mvc.FieldContext = function Sys_Mvc_FieldContext(formContext) {
-    /// <param name="formContext" type="Sys.Mvc.FormContext">
-    /// </param>
-    /// <field name="_hasTextChangedTag" type="String" static="true">
-    /// </field>
-    /// <field name="_hasValidationFiredTag" type="String" static="true">
-    /// </field>
-    /// <field name="_inputElementErrorCss" type="String" static="true">
-    /// </field>
-    /// <field name="_inputElementValidCss" type="String" static="true">
-    /// </field>
-    /// <field name="_validationMessageErrorCss" type="String" static="true">
-    /// </field>
-    /// <field name="_validationMessageValidCss" type="String" static="true">
-    /// </field>
-    /// <field name="_onBlurHandler" type="Sys.UI.DomEventHandler">
-    /// </field>
-    /// <field name="_onChangeHandler" type="Sys.UI.DomEventHandler">
-    /// </field>
-    /// <field name="_onInputHandler" type="Sys.UI.DomEventHandler">
-    /// </field>
-    /// <field name="_onPropertyChangeHandler" type="Sys.UI.DomEventHandler">
-    /// </field>
-    /// <field name="_errors" type="Array">
-    /// </field>
-    /// <field name="defaultErrorMessage" type="String">
-    /// </field>
-    /// <field name="elements" type="Array" elementType="Object" elementDomElement="true">
-    /// </field>
-    /// <field name="formContext" type="Sys.Mvc.FormContext">
-    /// </field>
-    /// <field name="replaceValidationMessageContents" type="Boolean">
-    /// </field>
-    /// <field name="validationMessageElement" type="Object" domElement="true">
-    /// </field>
-    /// <field name="validations" type="Array" elementType="Validation">
-    /// </field>
-    this._errors = [];
-    this.elements = new Array(0);
-    this.validations = new Array(0);
-    this.formContext = formContext;
-    this._onBlurHandler = Function.createDelegate(this, this._element_OnBlur);
-    this._onChangeHandler = Function.createDelegate(this, this._element_OnChange);
-    this._onInputHandler = Function.createDelegate(this, this._element_OnInput);
-    this._onPropertyChangeHandler = Function.createDelegate(this, this._element_OnPropertyChange);
-}
-Sys.Mvc.FieldContext.prototype = {
-    _onBlurHandler: null,
-    _onChangeHandler: null,
-    _onInputHandler: null,
-    _onPropertyChangeHandler: null,
-    defaultErrorMessage: null,
-    formContext: null,
-    replaceValidationMessageContents: false,
-    validationMessageElement: null,
-    
-    addError: function Sys_Mvc_FieldContext$addError(message) {
-        /// <param name="message" type="String">
-        /// </param>
-        this.addErrors([ message ]);
-    },
-    
-    addErrors: function Sys_Mvc_FieldContext$addErrors(messages) {
-        /// <param name="messages" type="Array" elementType="String">
-        /// </param>
-        if (!Sys.Mvc._validationUtil.arrayIsNullOrEmpty(messages)) {
-            Array.addRange(this._errors, messages);
-            this._onErrorCountChanged();
-        }
-    },
-    
-    clearErrors: function Sys_Mvc_FieldContext$clearErrors() {
-        Array.clear(this._errors);
-        this._onErrorCountChanged();
-    },
-    
-    _displayError: function Sys_Mvc_FieldContext$_displayError() {
-        var validationMessageElement = this.validationMessageElement;
-        if (validationMessageElement) {
-            if (this.replaceValidationMessageContents) {
-                Sys.Mvc._validationUtil.setInnerText(validationMessageElement, this._errors[0]);
-            }
-            Sys.UI.DomElement.removeCssClass(validationMessageElement, Sys.Mvc.FieldContext._validationMessageValidCss);
-            Sys.UI.DomElement.addCssClass(validationMessageElement, Sys.Mvc.FieldContext._validationMessageErrorCss);
-        }
-        var elements = this.elements;
-        for (var i = 0; i < elements.length; i++) {
-            var element = elements[i];
-            Sys.UI.DomElement.removeCssClass(element, Sys.Mvc.FieldContext._inputElementValidCss);
-            Sys.UI.DomElement.addCssClass(element, Sys.Mvc.FieldContext._inputElementErrorCss);
-        }
-    },
-    
-    _displaySuccess: function Sys_Mvc_FieldContext$_displaySuccess() {
-        var validationMessageElement = this.validationMessageElement;
-        if (validationMessageElement) {
-            if (this.replaceValidationMessageContents) {
-                Sys.Mvc._validationUtil.setInnerText(validationMessageElement, '');
-            }
-            Sys.UI.DomElement.removeCssClass(validationMessageElement, Sys.Mvc.FieldContext._validationMessageErrorCss);
-            Sys.UI.DomElement.addCssClass(validationMessageElement, Sys.Mvc.FieldContext._validationMessageValidCss);
-        }
-        var elements = this.elements;
-        for (var i = 0; i < elements.length; i++) {
-            var element = elements[i];
-            Sys.UI.DomElement.removeCssClass(element, Sys.Mvc.FieldContext._inputElementErrorCss);
-            Sys.UI.DomElement.addCssClass(element, Sys.Mvc.FieldContext._inputElementValidCss);
-        }
-    },
-    
-    _element_OnBlur: function Sys_Mvc_FieldContext$_element_OnBlur(e) {
-        /// <param name="e" type="Sys.UI.DomEvent">
-        /// </param>
-        if (e.target[Sys.Mvc.FieldContext._hasTextChangedTag] || e.target[Sys.Mvc.FieldContext._hasValidationFiredTag]) {
-            this.validate('blur');
-        }
-    },
-    
-    _element_OnChange: function Sys_Mvc_FieldContext$_element_OnChange(e) {
-        /// <param name="e" type="Sys.UI.DomEvent">
-        /// </param>
-        e.target[Sys.Mvc.FieldContext._hasTextChangedTag] = true;
-    },
-    
-    _element_OnInput: function Sys_Mvc_FieldContext$_element_OnInput(e) {
-        /// <param name="e" type="Sys.UI.DomEvent">
-        /// </param>
-        e.target[Sys.Mvc.FieldContext._hasTextChangedTag] = true;
-        if (e.target[Sys.Mvc.FieldContext._hasValidationFiredTag]) {
-            this.validate('input');
-        }
-    },
-    
-    _element_OnPropertyChange: function Sys_Mvc_FieldContext$_element_OnPropertyChange(e) {
-        /// <param name="e" type="Sys.UI.DomEvent">
-        /// </param>
-        if (e.rawEvent.propertyName === 'value') {
-            e.target[Sys.Mvc.FieldContext._hasTextChangedTag] = true;
-            if (e.target[Sys.Mvc.FieldContext._hasValidationFiredTag]) {
-                this.validate('input');
-            }
-        }
-    },
-    
-    enableDynamicValidation: function Sys_Mvc_FieldContext$enableDynamicValidation() {
-        var elements = this.elements;
-        for (var i = 0; i < elements.length; i++) {
-            var element = elements[i];
-            if (Sys.Mvc._validationUtil.elementSupportsEvent(element, 'onpropertychange')) {
-                var compatMode = document.documentMode;
-                if (compatMode && compatMode >= 8) {
-                    Sys.UI.DomEvent.addHandler(element, 'propertychange', this._onPropertyChangeHandler);
-                }
-            }
-            else {
-                Sys.UI.DomEvent.addHandler(element, 'input', this._onInputHandler);
-            }
-            Sys.UI.DomEvent.addHandler(element, 'change', this._onChangeHandler);
-            Sys.UI.DomEvent.addHandler(element, 'blur', this._onBlurHandler);
-        }
-    },
-    
-    _getErrorString: function Sys_Mvc_FieldContext$_getErrorString(validatorReturnValue, fieldErrorMessage) {
-        /// <param name="validatorReturnValue" type="Object">
-        /// </param>
-        /// <param name="fieldErrorMessage" type="String">
-        /// </param>
-        /// <returns type="String"></returns>
-        var fallbackErrorMessage = fieldErrorMessage || this.defaultErrorMessage;
-        if (Boolean.isInstanceOfType(validatorReturnValue)) {
-            return (validatorReturnValue) ? null : fallbackErrorMessage;
-        }
-        if (String.isInstanceOfType(validatorReturnValue)) {
-            return ((validatorReturnValue).length) ? validatorReturnValue : fallbackErrorMessage;
-        }
-        return null;
-    },
-    
-    _getStringValue: function Sys_Mvc_FieldContext$_getStringValue() {
-        /// <returns type="String"></returns>
-        var elements = this.elements;
-        return (elements.length > 0) ? elements[0].value : null;
-    },
-    
-    _markValidationFired: function Sys_Mvc_FieldContext$_markValidationFired() {
-        var elements = this.elements;
-        for (var i = 0; i < elements.length; i++) {
-            var element = elements[i];
-            element[Sys.Mvc.FieldContext._hasValidationFiredTag] = true;
-        }
-    },
-    
-    _onErrorCountChanged: function Sys_Mvc_FieldContext$_onErrorCountChanged() {
-        if (!this._errors.length) {
-            this._displaySuccess();
-        }
-        else {
-            this._displayError();
-        }
-    },
-    
-    validate: function Sys_Mvc_FieldContext$validate(eventName) {
-        /// <param name="eventName" type="String">
-        /// </param>
-        /// <returns type="Array" elementType="String"></returns>
-        var validations = this.validations;
-        var errors = [];
-        var value = this._getStringValue();
-        for (var i = 0; i < validations.length; i++) {
-            var validation = validations[i];
-            var context = Sys.Mvc.$create_ValidationContext();
-            context.eventName = eventName;
-            context.fieldContext = this;
-            context.validation = validation;
-            var retVal = validation.validator(value, context);
-            var errorMessage = this._getErrorString(retVal, validation.fieldErrorMessage);
-            if (!Sys.Mvc._validationUtil.stringIsNullOrEmpty(errorMessage)) {
-                Array.add(errors, errorMessage);
-            }
-        }
-        this._markValidationFired();
-        this.clearErrors();
-        this.addErrors(errors);
-        return errors;
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.RangeValidator
-
-Sys.Mvc.RangeValidator = function Sys_Mvc_RangeValidator(minimum, maximum) {
-    /// <param name="minimum" type="Number">
-    /// </param>
-    /// <param name="maximum" type="Number">
-    /// </param>
-    /// <field name="_minimum" type="Number">
-    /// </field>
-    /// <field name="_maximum" type="Number">
-    /// </field>
-    this._minimum = minimum;
-    this._maximum = maximum;
-}
-Sys.Mvc.RangeValidator.create = function Sys_Mvc_RangeValidator$create(rule) {
-    /// <param name="rule" type="Sys.Mvc.JsonValidationRule">
-    /// </param>
-    /// <returns type="Sys.Mvc.Validator"></returns>
-    var min = rule.ValidationParameters['min'];
-    var max = rule.ValidationParameters['max'];
-    return Function.createDelegate(new Sys.Mvc.RangeValidator(min, max), new Sys.Mvc.RangeValidator(min, max).validate);
-}
-Sys.Mvc.RangeValidator.prototype = {
-    _minimum: null,
-    _maximum: null,
-    
-    validate: function Sys_Mvc_RangeValidator$validate(value, context) {
-        /// <param name="value" type="String">
-        /// </param>
-        /// <param name="context" type="Sys.Mvc.ValidationContext">
-        /// </param>
-        /// <returns type="Object"></returns>
-        if (Sys.Mvc._validationUtil.stringIsNullOrEmpty(value)) {
-            return true;
-        }
-        var n = Number.parseLocale(value);
-        return (!isNaN(n) && this._minimum <= n && n <= this._maximum);
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.RegularExpressionValidator
-
-Sys.Mvc.RegularExpressionValidator = function Sys_Mvc_RegularExpressionValidator(pattern) {
-    /// <param name="pattern" type="String">
-    /// </param>
-    /// <field name="_pattern" type="String">
-    /// </field>
-    this._pattern = pattern;
-}
-Sys.Mvc.RegularExpressionValidator.create = function Sys_Mvc_RegularExpressionValidator$create(rule) {
-    /// <param name="rule" type="Sys.Mvc.JsonValidationRule">
-    /// </param>
-    /// <returns type="Sys.Mvc.Validator"></returns>
-    var pattern = rule.ValidationParameters['pattern'];
-    return Function.createDelegate(new Sys.Mvc.RegularExpressionValidator(pattern), new Sys.Mvc.RegularExpressionValidator(pattern).validate);
-}
-Sys.Mvc.RegularExpressionValidator.prototype = {
-    _pattern: null,
-    
-    validate: function Sys_Mvc_RegularExpressionValidator$validate(value, context) {
-        /// <param name="value" type="String">
-        /// </param>
-        /// <param name="context" type="Sys.Mvc.ValidationContext">
-        /// </param>
-        /// <returns type="Object"></returns>
-        if (Sys.Mvc._validationUtil.stringIsNullOrEmpty(value)) {
-            return true;
-        }
-        var regExp = new RegExp(this._pattern);
-        var matches = regExp.exec(value);
-        return (!Sys.Mvc._validationUtil.arrayIsNullOrEmpty(matches) && matches[0].length === value.length);
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.RequiredValidator
-
-Sys.Mvc.RequiredValidator = function Sys_Mvc_RequiredValidator() {
-}
-Sys.Mvc.RequiredValidator.create = function Sys_Mvc_RequiredValidator$create(rule) {
-    /// <param name="rule" type="Sys.Mvc.JsonValidationRule">
-    /// </param>
-    /// <returns type="Sys.Mvc.Validator"></returns>
-    return Function.createDelegate(new Sys.Mvc.RequiredValidator(), new Sys.Mvc.RequiredValidator().validate);
-}
-Sys.Mvc.RequiredValidator._isRadioInputElement = function Sys_Mvc_RequiredValidator$_isRadioInputElement(element) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    if (element.tagName.toUpperCase() === 'INPUT') {
-        var inputType = (element.type).toUpperCase();
-        if (inputType === 'RADIO') {
-            return true;
-        }
-    }
-    return false;
-}
-Sys.Mvc.RequiredValidator._isSelectInputElement = function Sys_Mvc_RequiredValidator$_isSelectInputElement(element) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    if (element.tagName.toUpperCase() === 'SELECT') {
-        return true;
-    }
-    return false;
-}
-Sys.Mvc.RequiredValidator._isTextualInputElement = function Sys_Mvc_RequiredValidator$_isTextualInputElement(element) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    if (element.tagName.toUpperCase() === 'INPUT') {
-        var inputType = (element.type).toUpperCase();
-        switch (inputType) {
-            case 'TEXT':
-            case 'PASSWORD':
-            case 'FILE':
-                return true;
-        }
-    }
-    if (element.tagName.toUpperCase() === 'TEXTAREA') {
-        return true;
-    }
-    return false;
-}
-Sys.Mvc.RequiredValidator._validateRadioInput = function Sys_Mvc_RequiredValidator$_validateRadioInput(elements) {
-    /// <param name="elements" type="Array" elementType="Object" elementDomElement="true">
-    /// </param>
-    /// <returns type="Object"></returns>
-    for (var i = 0; i < elements.length; i++) {
-        var element = elements[i];
-        if (element.checked) {
-            return true;
-        }
-    }
-    return false;
-}
-Sys.Mvc.RequiredValidator._validateSelectInput = function Sys_Mvc_RequiredValidator$_validateSelectInput(optionElements) {
-    /// <param name="optionElements" type="DOMElementCollection">
-    /// </param>
-    /// <returns type="Object"></returns>
-    for (var i = 0; i < optionElements.length; i++) {
-        var element = optionElements[i];
-        if (element.selected) {
-            if (!Sys.Mvc._validationUtil.stringIsNullOrEmpty(element.value)) {
-                return true;
-            }
-        }
-    }
-    return false;
-}
-Sys.Mvc.RequiredValidator._validateTextualInput = function Sys_Mvc_RequiredValidator$_validateTextualInput(element) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <returns type="Object"></returns>
-    return (!Sys.Mvc._validationUtil.stringIsNullOrEmpty(element.value));
-}
-Sys.Mvc.RequiredValidator.prototype = {
-    
-    validate: function Sys_Mvc_RequiredValidator$validate(value, context) {
-        /// <param name="value" type="String">
-        /// </param>
-        /// <param name="context" type="Sys.Mvc.ValidationContext">
-        /// </param>
-        /// <returns type="Object"></returns>
-        var elements = context.fieldContext.elements;
-        if (!elements.length) {
-            return true;
-        }
-        var sampleElement = elements[0];
-        if (Sys.Mvc.RequiredValidator._isTextualInputElement(sampleElement)) {
-            return Sys.Mvc.RequiredValidator._validateTextualInput(sampleElement);
-        }
-        if (Sys.Mvc.RequiredValidator._isRadioInputElement(sampleElement)) {
-            return Sys.Mvc.RequiredValidator._validateRadioInput(elements);
-        }
-        if (Sys.Mvc.RequiredValidator._isSelectInputElement(sampleElement)) {
-            return Sys.Mvc.RequiredValidator._validateSelectInput((sampleElement).options);
-        }
-        return true;
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.StringLengthValidator
-
-Sys.Mvc.StringLengthValidator = function Sys_Mvc_StringLengthValidator(minLength, maxLength) {
-    /// <param name="minLength" type="Number" integer="true">
-    /// </param>
-    /// <param name="maxLength" type="Number" integer="true">
-    /// </param>
-    /// <field name="_maxLength" type="Number" integer="true">
-    /// </field>
-    /// <field name="_minLength" type="Number" integer="true">
-    /// </field>
-    this._minLength = minLength;
-    this._maxLength = maxLength;
-}
-Sys.Mvc.StringLengthValidator.create = function Sys_Mvc_StringLengthValidator$create(rule) {
-    /// <param name="rule" type="Sys.Mvc.JsonValidationRule">
-    /// </param>
-    /// <returns type="Sys.Mvc.Validator"></returns>
-    var minLength = (rule.ValidationParameters['min'] || 0);
-    var maxLength = (rule.ValidationParameters['max'] || Number.MAX_VALUE);
-    return Function.createDelegate(new Sys.Mvc.StringLengthValidator(minLength, maxLength), new Sys.Mvc.StringLengthValidator(minLength, maxLength).validate);
-}
-Sys.Mvc.StringLengthValidator.prototype = {
-    _maxLength: 0,
-    _minLength: 0,
-    
-    validate: function Sys_Mvc_StringLengthValidator$validate(value, context) {
-        /// <param name="value" type="String">
-        /// </param>
-        /// <param name="context" type="Sys.Mvc.ValidationContext">
-        /// </param>
-        /// <returns type="Object"></returns>
-        if (Sys.Mvc._validationUtil.stringIsNullOrEmpty(value)) {
-            return true;
-        }
-        return (this._minLength <= value.length && value.length <= this._maxLength);
-    }
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc._validationUtil
-
-Sys.Mvc._validationUtil = function Sys_Mvc__validationUtil() {
-}
-Sys.Mvc._validationUtil.arrayIsNullOrEmpty = function Sys_Mvc__validationUtil$arrayIsNullOrEmpty(array) {
-    /// <param name="array" type="Array" elementType="Object">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    return (!array || !array.length);
-}
-Sys.Mvc._validationUtil.stringIsNullOrEmpty = function Sys_Mvc__validationUtil$stringIsNullOrEmpty(value) {
-    /// <param name="value" type="String">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    return (!value || !value.length);
-}
-Sys.Mvc._validationUtil.elementSupportsEvent = function Sys_Mvc__validationUtil$elementSupportsEvent(element, eventAttributeName) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <param name="eventAttributeName" type="String">
-    /// </param>
-    /// <returns type="Boolean"></returns>
-    return (eventAttributeName in element);
-}
-Sys.Mvc._validationUtil.removeAllChildren = function Sys_Mvc__validationUtil$removeAllChildren(element) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    while (element.firstChild) {
-        element.removeChild(element.firstChild);
-    }
-}
-Sys.Mvc._validationUtil.setInnerText = function Sys_Mvc__validationUtil$setInnerText(element, innerText) {
-    /// <param name="element" type="Object" domElement="true">
-    /// </param>
-    /// <param name="innerText" type="String">
-    /// </param>
-    var textNode = document.createTextNode(innerText);
-    Sys.Mvc._validationUtil.removeAllChildren(element);
-    element.appendChild(textNode);
-}
-
-
-////////////////////////////////////////////////////////////////////////////////
-// Sys.Mvc.ValidatorRegistry
-
-Sys.Mvc.ValidatorRegistry = function Sys_Mvc_ValidatorRegistry() {
-    /// <field name="validators" type="Object" static="true">
-    /// </field>
-}
-Sys.Mvc.ValidatorRegistry.getValidator = function Sys_Mvc_ValidatorRegistry$getValidator(rule) {
-    /// <param name="rule" type="Sys.Mvc.JsonValidationRule">
-    /// </param>
-    /// <returns type="Sys.Mvc.Validator"></returns>
-    var creator = Sys.Mvc.ValidatorRegistry.validators[rule.ValidationType];
-    return (creator) ? creator(rule) : null;
-}
-Sys.Mvc.ValidatorRegistry._getDefaultValidators = function Sys_Mvc_ValidatorRegistry$_getDefaultValidators() {
-    /// <returns type="Object"></returns>
-    return { required: Function.createDelegate(null, Sys.Mvc.RequiredValidator.create), length: Function.createDelegate(null, Sys.Mvc.StringLengthValidator.create), regex: Function.createDelegate(null, Sys.Mvc.RegularExpressionValidator.create), range: Function.createDelegate(null, Sys.Mvc.RangeValidator.create), number: Function.createDelegate(null, Sys.Mvc.NumberValidator.create) };
-}
-
-
-Sys.Mvc.NumberValidator.registerClass('Sys.Mvc.NumberValidator');
-Sys.Mvc.FormContext.registerClass('Sys.Mvc.FormContext');
-Sys.Mvc.FieldContext.registerClass('Sys.Mvc.FieldContext');
-Sys.Mvc.RangeValidator.registerClass('Sys.Mvc.RangeValidator');
-Sys.Mvc.RegularExpressionValidator.registerClass('Sys.Mvc.RegularExpressionValidator');
-Sys.Mvc.RequiredValidator.registerClass('Sys.Mvc.RequiredValidator');
-Sys.Mvc.StringLengthValidator.registerClass('Sys.Mvc.StringLengthValidator');
-Sys.Mvc._validationUtil.registerClass('Sys.Mvc._validationUtil');
-Sys.Mvc.ValidatorRegistry.registerClass('Sys.Mvc.ValidatorRegistry');
-Sys.Mvc.FormContext._validationSummaryErrorCss = 'validation-summary-errors';
-Sys.Mvc.FormContext._validationSummaryValidCss = 'validation-summary-valid';
-Sys.Mvc.FormContext._formValidationTag = '__MVC_FormValidation';
-Sys.Mvc.FieldContext._hasTextChangedTag = '__MVC_HasTextChanged';
-Sys.Mvc.FieldContext._hasValidationFiredTag = '__MVC_HasValidationFired';
-Sys.Mvc.FieldContext._inputElementErrorCss = 'input-validation-error';
-Sys.Mvc.FieldContext._inputElementValidCss = 'input-validation-valid';
-Sys.Mvc.FieldContext._validationMessageErrorCss = 'field-validation-error';
-Sys.Mvc.FieldContext._validationMessageValidCss = 'field-validation-valid';
-Sys.Mvc.ValidatorRegistry.validators = Sys.Mvc.ValidatorRegistry._getDefaultValidators();
-
-// ---- Do not remove this footer ----
-// Generated using Script# v0.5.0.0 (http://projects.nikhilk.net)
-// -----------------------------------
-
-// register validation
-Sys.Application.add_load(function() {
-  Sys.Application.remove_load(arguments.callee);
-  Sys.Mvc.FormContext._Application_Load();
-});

Plik diff jest za duży
+ 0 - 55
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/MicrosoftMvcValidation.js


Plik diff jest za duży
+ 0 - 9110
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-1.5.1-vsdoc.js


Plik diff jest za duży
+ 0 - 8325
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-1.5.1.js


Plik diff jest za duży
+ 0 - 19
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-1.5.1.min.js


Plik diff jest za duży
+ 0 - 11700
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-ui-1.8.11.js


Plik diff jest za duży
+ 0 - 938
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery-ui-1.8.11.min.js


+ 0 - 165
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.unobtrusive-ajax.js

@@ -1,165 +0,0 @@
-/// <reference path="jquery-1.5.1.js" />
-
-/*!
-** Unobtrusive Ajax support library for jQuery
-** Copyright (C) Microsoft Corporation. All rights reserved.
-*/
-
-/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
-/*global window: false, jQuery: false */
-
-(function ($) {
-    var data_click = "unobtrusiveAjaxClick",
-        data_validation = "unobtrusiveValidation";
-
-    function getFunction(code, argNames) {
-        var fn = window, parts = (code || "").split(".");
-        while (fn && parts.length) {
-            fn = fn[parts.shift()];
-        }
-        if (typeof (fn) === "function") {
-            return fn;
-        }
-        argNames.push(code);
-        return Function.constructor.apply(null, argNames);
-    }
-
-    function isMethodProxySafe(method) {
-        return method === "GET" || method === "POST";
-    }
-
-    function asyncOnBeforeSend(xhr, method) {
-        if (!isMethodProxySafe(method)) {
-            xhr.setRequestHeader("X-HTTP-Method-Override", method);
-        }
-    }
-
-    function asyncOnSuccess(element, data, contentType) {
-        var mode;
-
-        if (contentType.indexOf("application/x-javascript") !== -1) {  // jQuery already executes JavaScript for us
-            return;
-        }
-
-        mode = (element.getAttribute("data-ajax-mode") || "").toUpperCase();
-        $(element.getAttribute("data-ajax-update")).each(function (i, update) {
-            var top;
-
-            switch (mode) {
-            case "BEFORE":
-                top = update.firstChild;
-                $("<div />").html(data).contents().each(function () {
-                    update.insertBefore(this, top);
-                });
-                break;
-            case "AFTER":
-                $("<div />").html(data).contents().each(function () {
-                    update.appendChild(this);
-                });
-                break;
-            default:
-                $(update).html(data);
-                break;
-            }
-        });
-    }
-
-    function asyncRequest(element, options) {
-        var confirm, loading, method, duration;
-
-        confirm = element.getAttribute("data-ajax-confirm");
-        if (confirm && !window.confirm(confirm)) {
-            return;
-        }
-
-        loading = $(element.getAttribute("data-ajax-loading"));
-        duration = element.getAttribute("data-ajax-loading-duration") || 0;
-
-        $.extend(options, {
-            type: element.getAttribute("data-ajax-method") || undefined,
-            url: element.getAttribute("data-ajax-url") || undefined,
-            beforeSend: function (xhr) {
-                var result;
-                asyncOnBeforeSend(xhr, method);
-                result = getFunction(element.getAttribute("data-ajax-begin"), ["xhr"]).apply(this, arguments);
-                if (result !== false) {
-                    loading.show(duration);
-                }
-                return result;
-            },
-            complete: function () {
-                loading.hide(duration);
-                getFunction(element.getAttribute("data-ajax-complete"), ["xhr", "status"]).apply(this, arguments);
-            },
-            success: function (data, status, xhr) {
-                asyncOnSuccess(element, data, xhr.getResponseHeader("Content-Type") || "text/html");
-                getFunction(element.getAttribute("data-ajax-success"), ["data", "status", "xhr"]).apply(this, arguments);
-            },
-            error: getFunction(element.getAttribute("data-ajax-failure"), ["xhr", "status", "error"])
-        });
-
-        options.data.push({ name: "X-Requested-With", value: "XMLHttpRequest" });
-
-        method = options.type.toUpperCase();
-        if (!isMethodProxySafe(method)) {
-            options.type = "POST";
-            options.data.push({ name: "X-HTTP-Method-Override", value: method });
-        }
-
-        $.ajax(options);
-    }
-
-    function validate(form) {
-        var validationInfo = $(form).data(data_validation);
-        return !validationInfo || !validationInfo.validate || validationInfo.validate();
-    }
-
-    $("a[data-ajax=true]").live("click", function (evt) {
-        evt.preventDefault();
-        asyncRequest(this, {
-            url: this.href,
-            type: "GET",
-            data: []
-        });
-    });
-
-    $("form[data-ajax=true] input[type=image]").live("click", function (evt) {
-        var name = evt.target.name,
-            $target = $(evt.target),
-            form = $target.parents("form")[0],
-            offset = $target.offset();
-
-        $(form).data(data_click, [
-            { name: name + ".x", value: Math.round(evt.pageX - offset.left) },
-            { name: name + ".y", value: Math.round(evt.pageY - offset.top) }
-        ]);
-
-        setTimeout(function () {
-            $(form).removeData(data_click);
-        }, 0);
-    });
-
-    $("form[data-ajax=true] :submit").live("click", function (evt) {
-        var name = evt.target.name,
-            form = $(evt.target).parents("form")[0];
-
-        $(form).data(data_click, name ? [{ name: name, value: evt.target.value }] : []);
-
-        setTimeout(function () {
-            $(form).removeData(data_click);
-        }, 0);
-    });
-
-    $("form[data-ajax=true]").live("submit", function (evt) {
-        var clickInfo = $(this).data(data_click) || [];
-        evt.preventDefault();
-        if (!validate(this)) {
-            return;
-        }
-        asyncRequest(this, {
-            url: this.action,
-            type: this.method || "GET",
-            data: clickInfo.concat($(this).serializeArray())
-        });
-    });
-}(jQuery));

Plik diff jest za duży
+ 0 - 5
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.unobtrusive-ajax.min.js


Plik diff jest za duży
+ 0 - 1299
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate-vsdoc.js


Plik diff jest za duży
+ 0 - 1162
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.js


Plik diff jest za duży
+ 0 - 53
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.min.js


+ 0 - 319
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.unobtrusive.js

@@ -1,319 +0,0 @@
-/// <reference path="jquery-1.5.1.js" />
-/// <reference path="jquery.validate.js" />
-
-/*!
-** Unobtrusive validation support library for jQuery and jQuery Validate
-** Copyright (C) Microsoft Corporation. All rights reserved.
-*/
-
-/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
-/*global document: false, jQuery: false */
-
-(function ($) {
-    var $jQval = $.validator,
-        adapters,
-        data_validation = "unobtrusiveValidation";
-
-    function setValidationValues(options, ruleName, value) {
-        options.rules[ruleName] = value;
-        if (options.message) {
-            options.messages[ruleName] = options.message;
-        }
-    }
-
-    function splitAndTrim(value) {
-        return value.replace(/^\s+|\s+$/g, "").split(/\s*,\s*/g);
-    }
-
-    function getModelPrefix(fieldName) {
-        return fieldName.substr(0, fieldName.lastIndexOf(".") + 1);
-    }
-
-    function appendModelPrefix(value, prefix) {
-        if (value.indexOf("*.") === 0) {
-            value = value.replace("*.", prefix);
-        }
-        return value;
-    }
-
-    function onError(error, inputElement) {  // 'this' is the form element
-        var container = $(this).find("[data-valmsg-for='" + inputElement[0].name + "']"),
-            replace = $.parseJSON(container.attr("data-valmsg-replace")) !== false;
-
-        container.removeClass("field-validation-valid").addClass("field-validation-error");
-        error.data("unobtrusiveContainer", container);
-
-        if (replace) {
-            container.empty();
-            error.removeClass("input-validation-error").appendTo(container);
-        }
-        else {
-            error.hide();
-        }
-    }
-
-    function onErrors(form, validator) {  // 'this' is the form element
-        var container = $(this).find("[data-valmsg-summary=true]"),
-            list = container.find("ul");
-
-        if (list && list.length && validator.errorList.length) {
-            list.empty();
-            container.addClass("validation-summary-errors").removeClass("validation-summary-valid");
-
-            $.each(validator.errorList, function () {
-                $("<li />").html(this.message).appendTo(list);
-            });
-        }
-    }
-
-    function onSuccess(error) {  // 'this' is the form element
-        var container = error.data("unobtrusiveContainer"),
-            replace = $.parseJSON(container.attr("data-valmsg-replace"));
-
-        if (container) {
-            container.addClass("field-validation-valid").removeClass("field-validation-error");
-            error.removeData("unobtrusiveContainer");
-
-            if (replace) {
-                container.empty();
-            }
-        }
-    }
-
-    function validationInfo(form) {
-        var $form = $(form),
-            result = $form.data(data_validation);
-
-        if (!result) {
-            result = {
-                options: {  // options structure passed to jQuery Validate's validate() method
-                    errorClass: "input-validation-error",
-                    errorElement: "span",
-                    errorPlacement: $.proxy(onError, form),
-                    invalidHandler: $.proxy(onErrors, form),
-                    messages: {},
-                    rules: {},
-                    success: $.proxy(onSuccess, form)
-                },
-                attachValidation: function () {
-                    $form.validate(this.options);
-                },
-                validate: function () {  // a validation function that is called by unobtrusive Ajax
-                    $form.validate();
-                    return $form.valid();
-                }
-            };
-            $form.data(data_validation, result);
-        }
-
-        return result;
-    }
-
-    $jQval.unobtrusive = {
-        adapters: [],
-
-        parseElement: function (element, skipAttach) {
-            /// <summary>
-            /// Parses a single HTML element for unobtrusive validation attributes.
-            /// </summary>
-            /// <param name="element" domElement="true">The HTML element to be parsed.</param>
-            /// <param name="skipAttach" type="Boolean">[Optional] true to skip attaching the
-            /// validation to the form. If parsing just this single element, you should specify true.
-            /// If parsing several elements, you should specify false, and manually attach the validation
-            /// to the form when you are finished. The default is false.</param>
-            var $element = $(element),
-                form = $element.parents("form")[0],
-                valInfo, rules, messages;
-
-            if (!form) {  // Cannot do client-side validation without a form
-                return;
-            }
-
-            valInfo = validationInfo(form);
-            valInfo.options.rules[element.name] = rules = {};
-            valInfo.options.messages[element.name] = messages = {};
-
-            $.each(this.adapters, function () {
-                var prefix = "data-val-" + this.name,
-                    message = $element.attr(prefix),
-                    paramValues = {};
-
-                if (message !== undefined) {  // Compare against undefined, because an empty message is legal (and falsy)
-                    prefix += "-";
-
-                    $.each(this.params, function () {
-                        paramValues[this] = $element.attr(prefix + this);
-                    });
-
-                    this.adapt({
-                        element: element,
-                        form: form,
-                        message: message,
-                        params: paramValues,
-                        rules: rules,
-                        messages: messages
-                    });
-                }
-            });
-
-            jQuery.extend(rules, { "__dummy__": true });
-
-            if (!skipAttach) {
-                valInfo.attachValidation();
-            }
-        },
-
-        parse: function (selector) {
-            /// <summary>
-            /// Parses all the HTML elements in the specified selector. It looks for input elements decorated
-            /// with the [data-val=true] attribute value and enables validation according to the data-val-*
-            /// attribute values.
-            /// </summary>
-            /// <param name="selector" type="String">Any valid jQuery selector.</param>
-            $(selector).find(":input[data-val=true]").each(function () {
-                $jQval.unobtrusive.parseElement(this, true);
-            });
-
-            $("form").each(function () {
-                var info = validationInfo(this);
-                if (info) {
-                    info.attachValidation();
-                }
-            });
-        }
-    };
-
-    adapters = $jQval.unobtrusive.adapters;
-
-    adapters.add = function (adapterName, params, fn) {
-        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation.</summary>
-        /// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
-        /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
-        /// <param name="params" type="Array" optional="true">[Optional] An array of parameter names (strings) that will
-        /// be extracted from the data-val-nnnn-mmmm HTML attributes (where nnnn is the adapter name, and
-        /// mmmm is the parameter name).</param>
-        /// <param name="fn" type="Function">The function to call, which adapts the values from the HTML
-        /// attributes into jQuery Validate rules and/or messages.</param>
-        /// <returns type="jQuery.validator.unobtrusive.adapters" />
-        if (!fn) {  // Called with no params, just a function
-            fn = params;
-            params = [];
-        }
-        this.push({ name: adapterName, params: params, adapt: fn });
-        return this;
-    };
-
-    adapters.addBool = function (adapterName, ruleName) {
-        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
-        /// the jQuery Validate validation rule has no parameter values.</summary>
-        /// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
-        /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
-        /// <param name="ruleName" type="String" optional="true">[Optional] The name of the jQuery Validate rule. If not provided, the value
-        /// of adapterName will be used instead.</param>
-        /// <returns type="jQuery.validator.unobtrusive.adapters" />
-        return this.add(adapterName, function (options) {
-            setValidationValues(options, ruleName || adapterName, true);
-        });
-    };
-
-    adapters.addMinMax = function (adapterName, minRuleName, maxRuleName, minMaxRuleName, minAttribute, maxAttribute) {
-        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
-        /// the jQuery Validate validation has three potential rules (one for min-only, one for max-only, and
-        /// one for min-and-max). The HTML parameters are expected to be named -min and -max.</summary>
-        /// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
-        /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
-        /// <param name="minRuleName" type="String">The name of the jQuery Validate rule to be used when you only
-        /// have a minimum value.</param>
-        /// <param name="maxRuleName" type="String">The name of the jQuery Validate rule to be used when you only
-        /// have a maximum value.</param>
-        /// <param name="minMaxRuleName" type="String">The name of the jQuery Validate rule to be used when you
-        /// have both a minimum and maximum value.</param>
-        /// <param name="minAttribute" type="String" optional="true">[Optional] The name of the HTML attribute that
-        /// contains the minimum value. The default is "min".</param>
-        /// <param name="maxAttribute" type="String" optional="true">[Optional] The name of the HTML attribute that
-        /// contains the maximum value. The default is "max".</param>
-        /// <returns type="jQuery.validator.unobtrusive.adapters" />
-        return this.add(adapterName, [minAttribute || "min", maxAttribute || "max"], function (options) {
-            var min = options.params.min,
-                max = options.params.max;
-
-            if (min && max) {
-                setValidationValues(options, minMaxRuleName, [min, max]);
-            }
-            else if (min) {
-                setValidationValues(options, minRuleName, min);
-            }
-            else if (max) {
-                setValidationValues(options, maxRuleName, max);
-            }
-        });
-    };
-
-    adapters.addSingleVal = function (adapterName, attribute, ruleName) {
-        /// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
-        /// the jQuery Validate validation rule has a single value.</summary>
-        /// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
-        /// in the data-val-nnnn HTML attribute(where nnnn is the adapter name).</param>
-        /// <param name="attribute" type="String">[Optional] The name of the HTML attribute that contains the value.
-        /// The default is "val".</param>
-        /// <param name="ruleName" type="String" optional="true">[Optional] The name of the jQuery Validate rule. If not provided, the value
-        /// of adapterName will be used instead.</param>
-        /// <returns type="jQuery.validator.unobtrusive.adapters" />
-        return this.add(adapterName, [attribute || "val"], function (options) {
-            setValidationValues(options, ruleName || adapterName, options.params[attribute]);
-        });
-    };
-
-    $jQval.addMethod("__dummy__", function (value, element, params) {
-        return true;
-    });
-
-    $jQval.addMethod("regex", function (value, element, params) {
-        var match;
-        if (this.optional(element)) {
-            return true;
-        }
-
-        match = new RegExp(params).exec(value);
-        return (match && (match.index === 0) && (match[0].length === value.length));
-    });
-
-    adapters.addSingleVal("accept", "exts").addSingleVal("regex", "pattern");
-    adapters.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");
-    adapters.addMinMax("length", "minlength", "maxlength", "rangelength").addMinMax("range", "min", "max", "range");
-    adapters.add("equalto", ["other"], function (options) {
-        var prefix = getModelPrefix(options.element.name),
-            other = options.params.other,
-            fullOtherName = appendModelPrefix(other, prefix),
-            element = $(options.form).find(":input[name=" + fullOtherName + "]")[0];
-
-        setValidationValues(options, "equalTo", element);
-    });
-    adapters.add("required", function (options) {
-        // jQuery Validate equates "required" with "mandatory" for checkbox elements
-        if (options.element.tagName.toUpperCase() !== "INPUT" || options.element.type.toUpperCase() !== "CHECKBOX") {
-            setValidationValues(options, "required", true);
-        }
-    });
-    adapters.add("remote", ["url", "type", "additionalfields"], function (options) {
-        var value = {
-            url: options.params.url,
-            type: options.params.type || "GET",
-            data: {}
-        },
-            prefix = getModelPrefix(options.element.name);
-
-        $.each(splitAndTrim(options.params.additionalfields || options.element.name), function (i, fieldName) {
-            var paramName = appendModelPrefix(fieldName, prefix);
-            value.data[paramName] = function () {
-                return $(options.form).find(":input[name='" + paramName + "']").val();
-            };
-        });
-
-        setValidationValues(options, "remote", value);
-    });
-
-    $(function () {
-        $jQval.unobtrusive.parse(document);
-    });
-}(jQuery));

Plik diff jest za duży
+ 0 - 5
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/jquery.validate.unobtrusive.min.js


+ 0 - 969
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/modernizr-1.7.js

@@ -1,969 +0,0 @@
-/*!
-* Note: While Microsoft is not the author of this file, Microsoft is
-* offering you a license subject to the terms of the Microsoft Software
-* License Terms for Microsoft ASP.NET Model View Controller 3.
-* Microsoft reserves all other rights. The notices below are provided
-* for informational purposes only and are not the license terms under
-* which Microsoft distributed this file.
-*
-* Modernizr v1.7
-* http://www.modernizr.com
-*
-* Developed by: 
-* - Faruk Ates  http://farukat.es/
-* - Paul Irish  http://paulirish.com/
-*
-* Copyright (c) 2009-2011
-*/
-
- 
-/*
- * Modernizr is a script that detects native CSS3 and HTML5 features
- * available in the current UA and provides an object containing all
- * features with a true/false value, depending on whether the UA has
- * native support for it or not.
- * 
- * Modernizr will also add classes to the <html> element of the page,
- * one for each feature it detects. If the UA supports it, a class
- * like "cssgradients" will be added. If not, the class name will be
- * "no-cssgradients". This allows for simple if-conditionals in your
- * CSS, giving you fine control over the look & feel of your website.
- * 
- * @author        Faruk Ates
- * @author        Paul Irish
- * @copyright     (c) 2009-2011 Faruk Ates.
- * @contributor   Ben Alman
- */
-
-window.Modernizr = (function(window,document,undefined){
-    
-    var version = '1.7',
-
-    ret = {},
-
-    /**
-     * !! DEPRECATED !!
-     * 
-     * enableHTML5 is a private property for advanced use only. If enabled,
-     * it will make Modernizr.init() run through a brief while() loop in
-     * which it will create all HTML5 elements in the DOM to allow for
-     * styling them in Internet Explorer, which does not recognize any
-     * non-HTML4 elements unless created in the DOM this way.
-     * 
-     * enableHTML5 is ON by default.
-     * 
-     * The enableHTML5 toggle option is DEPRECATED as per 1.6, and will be
-     * replaced in 2.0 in lieu of the modular, configurable nature of 2.0.
-     */
-    enableHTML5 = true,
-    
-    
-    docElement = document.documentElement,
-    docHead = document.head || document.getElementsByTagName('head')[0],
-
-    /**
-     * Create our "modernizr" element that we do most feature tests on.
-     */
-    mod = 'modernizr',
-    modElem = document.createElement( mod ),
-    m_style = modElem.style,
-
-    /**
-     * Create the input element for various Web Forms feature tests.
-     */
-    inputElem = document.createElement( 'input' ),
-    
-    smile = ':)',
-    
-    tostring = Object.prototype.toString,
-    
-    // List of property values to set for css tests. See ticket #21
-    prefixes = ' -webkit- -moz- -o- -ms- -khtml- '.split(' '),
-
-    // Following spec is to expose vendor-specific style properties as:
-    //   elem.style.WebkitBorderRadius
-    // and the following would be incorrect:
-    //   elem.style.webkitBorderRadius
-    
-    // Webkit ghosts their properties in lowercase but Opera & Moz do not.
-    // Microsoft foregoes prefixes entirely <= IE8, but appears to 
-    //   use a lowercase `ms` instead of the correct `Ms` in IE9
-    
-    // More here: http://github.com/Modernizr/Modernizr/issues/issue/21
-    domPrefixes = 'Webkit Moz O ms Khtml'.split(' '),
-
-    ns = {'svg': 'http://www.w3.org/2000/svg'},
-
-    tests = {},
-    inputs = {},
-    attrs = {},
-    
-    classes = [],
-    
-    featurename, // used in testing loop
-    
-    
-    
-    // todo: consider using http://javascript.nwbox.com/CSSSupport/css-support.js instead
-    testMediaQuery = function(mq){
-
-      var st = document.createElement('style'),
-          div = document.createElement('div'),
-          ret;
-
-      st.textContent = mq + '{#modernizr{height:3px}}';
-      docHead.appendChild(st);
-      div.id = 'modernizr';
-      docElement.appendChild(div);
-
-      ret = div.offsetHeight === 3;
-
-      st.parentNode.removeChild(st);
-      div.parentNode.removeChild(div);
-
-      return !!ret;
-
-    },
-    
-    
-    /**
-      * isEventSupported determines if a given element supports the given event
-      * function from http://yura.thinkweb2.com/isEventSupported/
-      */
-    isEventSupported = (function(){
-
-      var TAGNAMES = {
-        'select':'input','change':'input',
-        'submit':'form','reset':'form',
-        'error':'img','load':'img','abort':'img'
-      };
-
-      function isEventSupported(eventName, element) {
-
-        element = element || document.createElement(TAGNAMES[eventName] || 'div');
-        eventName = 'on' + eventName;
-
-        // When using `setAttribute`, IE skips "unload", WebKit skips "unload" and "resize", whereas `in` "catches" those
-        var isSupported = (eventName in element);
-
-        if (!isSupported) {
-          // If it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element
-          if (!element.setAttribute) {
-            element = document.createElement('div');
-          }
-          if (element.setAttribute && element.removeAttribute) {
-            element.setAttribute(eventName, '');
-            isSupported = is(element[eventName], 'function');
-
-            // If property was created, "remove it" (by setting value to `undefined`)
-            if (!is(element[eventName], undefined)) {
-              element[eventName] = undefined;
-            }
-            element.removeAttribute(eventName);
-          }
-        }
-
-        element = null;
-        return isSupported;
-      }
-      return isEventSupported;
-    })();
-    
-    
-    // hasOwnProperty shim by kangax needed for Safari 2.0 support
-    var _hasOwnProperty = ({}).hasOwnProperty, hasOwnProperty;
-    if (!is(_hasOwnProperty, undefined) && !is(_hasOwnProperty.call, undefined)) {
-      hasOwnProperty = function (object, property) {
-        return _hasOwnProperty.call(object, property);
-      };
-    }
-    else {
-      hasOwnProperty = function (object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */
-        return ((property in object) && is(object.constructor.prototype[property], undefined));
-      };
-    }
-    
-    /**
-     * set_css applies given styles to the Modernizr DOM node.
-     */
-    function set_css( str ) {
-        m_style.cssText = str;
-    }
-
-    /**
-     * set_css_all extrapolates all vendor-specific css strings.
-     */
-    function set_css_all( str1, str2 ) {
-        return set_css(prefixes.join(str1 + ';') + ( str2 || '' ));
-    }
-
-    /**
-     * is returns a boolean for if typeof obj is exactly type.
-     */
-    function is( obj, type ) {
-        return typeof obj === type;
-    }
-
-    /**
-     * contains returns a boolean for if substr is found within str.
-     */
-    function contains( str, substr ) {
-        return (''+str).indexOf( substr ) !== -1;
-    }
-
-    /**
-     * test_props is a generic CSS / DOM property test; if a browser supports
-     *   a certain property, it won't return undefined for it.
-     *   A supported CSS property returns empty string when its not yet set.
-     */
-    function test_props( props, callback ) {
-        for ( var i in props ) {
-            if ( m_style[ props[i] ] !== undefined && ( !callback || callback( props[i], modElem ) ) ) {
-                return true;
-            }
-        }
-    }
-
-    /**
-     * test_props_all tests a list of DOM properties we want to check against.
-     *   We specify literally ALL possible (known and/or likely) properties on 
-     *   the element including the non-vendor prefixed one, for forward-
-     *   compatibility.
-     */
-    function test_props_all( prop, callback ) {
-      
-        var uc_prop = prop.charAt(0).toUpperCase() + prop.substr(1),
-            props   = (prop + ' ' + domPrefixes.join(uc_prop + ' ') + uc_prop).split(' ');
-
-        return !!test_props( props, callback );
-    }
-    
-
-    /**
-     * Tests
-     * -----
-     */
-
-    tests['flexbox'] = function() {
-        /**
-         * set_prefixed_value_css sets the property of a specified element
-         * adding vendor prefixes to the VALUE of the property.
-         * @param {Element} element
-         * @param {string} property The property name. This will not be prefixed.
-         * @param {string} value The value of the property. This WILL be prefixed.
-         * @param {string=} extra Additional CSS to append unmodified to the end of
-         * the CSS string.
-         */
-        function set_prefixed_value_css(element, property, value, extra) {
-            property += ':';
-            element.style.cssText = (property + prefixes.join(value + ';' + property)).slice(0, -property.length) + (extra || '');
-        }
-
-        /**
-         * set_prefixed_property_css sets the property of a specified element
-         * adding vendor prefixes to the NAME of the property.
-         * @param {Element} element
-         * @param {string} property The property name. This WILL be prefixed.
-         * @param {string} value The value of the property. This will not be prefixed.
-         * @param {string=} extra Additional CSS to append unmodified to the end of
-         * the CSS string.
-         */
-        function set_prefixed_property_css(element, property, value, extra) {
-            element.style.cssText = prefixes.join(property + ':' + value + ';') + (extra || '');
-        }
-
-        var c = document.createElement('div'),
-            elem = document.createElement('div');
-
-        set_prefixed_value_css(c, 'display', 'box', 'width:42px;padding:0;');
-        set_prefixed_property_css(elem, 'box-flex', '1', 'width:10px;');
-
-        c.appendChild(elem);
-        docElement.appendChild(c);
-
-        var ret = elem.offsetWidth === 42;
-
-        c.removeChild(elem);
-        docElement.removeChild(c);
-
-        return ret;
-    };
-    
-    // On the S60 and BB Storm, getContext exists, but always returns undefined
-    // http://github.com/Modernizr/Modernizr/issues/issue/97/ 
-    
-    tests['canvas'] = function() {
-        var elem = document.createElement( 'canvas' );
-        return !!(elem.getContext && elem.getContext('2d'));
-    };
-    
-    tests['canvastext'] = function() {
-        return !!(ret['canvas'] && is(document.createElement( 'canvas' ).getContext('2d').fillText, 'function'));
-    };
-    
-    // This WebGL test false positives in FF depending on graphics hardware. But really it's quite impossible to know
-    // wether webgl will succeed until after you create the context. You might have hardware that can support
-    // a 100x100 webgl canvas, but will not support a 1000x1000 webgl canvas. So this feature inference is weak, 
-    // but intentionally so.
-    tests['webgl'] = function(){
-        return !!window.WebGLRenderingContext;
-    };
-    
-    /*
-     * The Modernizr.touch test only indicates if the browser supports
-     *    touch events, which does not necessarily reflect a touchscreen
-     *    device, as evidenced by tablets running Windows 7 or, alas,
-     *    the Palm Pre / WebOS (touch) phones.
-     *    
-     * Additionally, Chrome (desktop) used to lie about its support on this,
-     *    but that has since been rectified: http://crbug.com/36415
-     *    
-     * We also test for Firefox 4 Multitouch Support.
-     *
-     * For more info, see: http://modernizr.github.com/Modernizr/touch.html
-     */
-     
-    tests['touch'] = function() {
-
-        return ('ontouchstart' in window) || testMediaQuery('@media ('+prefixes.join('touch-enabled),(')+'modernizr)');
-
-    };
-
-
-    /**
-     * geolocation tests for the new Geolocation API specification.
-     *   This test is a standards compliant-only test; for more complete
-     *   testing, including a Google Gears fallback, please see:
-     *   http://code.google.com/p/geo-location-javascript/
-     * or view a fallback solution using google's geo API:
-     *   http://gist.github.com/366184
-     */
-    tests['geolocation'] = function() {
-        return !!navigator.geolocation;
-    };
-
-    // Per 1.6: 
-    // This used to be Modernizr.crosswindowmessaging but the longer
-    // name has been deprecated in favor of a shorter and property-matching one.
-    // The old API is still available in 1.6, but as of 2.0 will throw a warning,
-    // and in the first release thereafter disappear entirely.
-    tests['postmessage'] = function() {
-      return !!window.postMessage;
-    };
-
-    // Web SQL database detection is tricky:
-
-    // In chrome incognito mode, openDatabase is truthy, but using it will 
-    //   throw an exception: http://crbug.com/42380
-    // We can create a dummy database, but there is no way to delete it afterwards. 
-    
-    // Meanwhile, Safari users can get prompted on any database creation.
-    //   If they do, any page with Modernizr will give them a prompt:
-    //   http://github.com/Modernizr/Modernizr/issues/closed#issue/113
-    
-    // We have chosen to allow the Chrome incognito false positive, so that Modernizr
-    //   doesn't litter the web with these test databases. As a developer, you'll have
-    //   to account for this gotcha yourself.
-    tests['websqldatabase'] = function() {
-      var result = !!window.openDatabase;
-      /*  if (result){
-            try {
-              result = !!openDatabase( mod + "testdb", "1.0", mod + "testdb", 2e4);
-            } catch(e) {
-            }
-          }  */
-      return result;
-    };
-    
-    // Vendors have inconsistent prefixing with the experimental Indexed DB:
-    // - Firefox is shipping indexedDB in FF4 as moz_indexedDB
-    // - Webkit's implementation is accessible through webkitIndexedDB
-    // We test both styles.
-    tests['indexedDB'] = function(){
-      for (var i = -1, len = domPrefixes.length; ++i < len; ){ 
-        var prefix = domPrefixes[i].toLowerCase();
-        if (window[prefix + '_indexedDB'] || window[prefix + 'IndexedDB']){
-          return true;
-        } 
-      }
-      return false;
-    };
-
-    // documentMode logic from YUI to filter out IE8 Compat Mode
-    //   which false positives.
-    tests['hashchange'] = function() {
-      return isEventSupported('hashchange', window) && ( document.documentMode === undefined || document.documentMode > 7 );
-    };
-
-    // Per 1.6: 
-    // This used to be Modernizr.historymanagement but the longer
-    // name has been deprecated in favor of a shorter and property-matching one.
-    // The old API is still available in 1.6, but as of 2.0 will throw a warning,
-    // and in the first release thereafter disappear entirely.
-    tests['history'] = function() {
-      return !!(window.history && history.pushState);
-    };
-
-    tests['draganddrop'] = function() {
-        return isEventSupported('dragstart') && isEventSupported('drop');
-    };
-    
-    tests['websockets'] = function(){
-        return ('WebSocket' in window);
-    };
-    
-    
-    // http://css-tricks.com/rgba-browser-support/
-    tests['rgba'] = function() {
-        // Set an rgba() color and check the returned value
-        
-        set_css(  'background-color:rgba(150,255,150,.5)' );
-        
-        return contains( m_style.backgroundColor, 'rgba' );
-    };
-    
-    tests['hsla'] = function() {
-        // Same as rgba(), in fact, browsers re-map hsla() to rgba() internally,
-        //   except IE9 who retains it as hsla
-        
-        set_css('background-color:hsla(120,40%,100%,.5)' );
-        
-        return contains( m_style.backgroundColor, 'rgba' ) || contains( m_style.backgroundColor, 'hsla' );
-    };
-    
-    tests['multiplebgs'] = function() {
-        // Setting multiple images AND a color on the background shorthand property
-        //  and then querying the style.background property value for the number of
-        //  occurrences of "url(" is a reliable method for detecting ACTUAL support for this!
-        
-        set_css( 'background:url(//:),url(//:),red url(//:)' );
-        
-        // If the UA supports multiple backgrounds, there should be three occurrences
-        //   of the string "url(" in the return value for elem_style.background
-
-        return new RegExp("(url\\s*\\(.*?){3}").test(m_style.background);
-    };
-    
-    
-    // In testing support for a given CSS property, it's legit to test:
-    //    `elem.style[styleName] !== undefined`
-    // If the property is supported it will return an empty string,
-    // if unsupported it will return undefined.
-    
-    // We'll take advantage of this quick test and skip setting a style 
-    // on our modernizr element, but instead just testing undefined vs
-    // empty string.
-    
-
-    tests['backgroundsize'] = function() {
-        return test_props_all( 'backgroundSize' );
-    };
-    
-    tests['borderimage'] = function() {
-        return test_props_all( 'borderImage' );
-    };
-    
-    
-    // Super comprehensive table about all the unique implementations of 
-    // border-radius: http://muddledramblings.com/table-of-css3-border-radius-compliance
-    
-    tests['borderradius'] = function() {
-        return test_props_all( 'borderRadius', '', function( prop ) {
-            return contains( prop, 'orderRadius' );
-        });
-    };
-    
-    // WebOS unfortunately false positives on this test.
-    tests['boxshadow'] = function() {
-        return test_props_all( 'boxShadow' );
-    };
-    
-    // FF3.0 will false positive on this test 
-    tests['textshadow'] = function(){
-        return document.createElement('div').style.textShadow === '';
-    };
-    
-    
-    tests['opacity'] = function() {
-        // Browsers that actually have CSS Opacity implemented have done so
-        //  according to spec, which means their return values are within the
-        //  range of [0.0,1.0] - including the leading zero.
-        
-        set_css_all( 'opacity:.55' );
-        
-        // The non-literal . in this regex is intentional:
-        //   German Chrome returns this value as 0,55
-        // https://github.com/Modernizr/Modernizr/issues/#issue/59/comment/516632
-        return /^0.55$/.test(m_style.opacity);
-    };
-    
-    
-    tests['cssanimations'] = function() {
-        return test_props_all( 'animationName' );
-    };
-    
-    
-    tests['csscolumns'] = function() {
-        return test_props_all( 'columnCount' );
-    };
-    
-    
-    tests['cssgradients'] = function() {
-        /**
-         * For CSS Gradients syntax, please see:
-         * http://webkit.org/blog/175/introducing-css-gradients/
-         * https://developer.mozilla.org/en/CSS/-moz-linear-gradient
-         * https://developer.mozilla.org/en/CSS/-moz-radial-gradient
-         * http://dev.w3.org/csswg/css3-images/#gradients-
-         */
-        
-        var str1 = 'background-image:',
-            str2 = 'gradient(linear,left top,right bottom,from(#9f9),to(white));',
-            str3 = 'linear-gradient(left top,#9f9, white);';
-        
-        set_css(
-            (str1 + prefixes.join(str2 + str1) + prefixes.join(str3 + str1)).slice(0,-str1.length)
-        );
-        
-        return contains( m_style.backgroundImage, 'gradient' );
-    };
-    
-    
-    tests['cssreflections'] = function() {
-        return test_props_all( 'boxReflect' );
-    };
-    
-    
-    tests['csstransforms'] = function() {
-        return !!test_props([ 'transformProperty', 'WebkitTransform', 'MozTransform', 'OTransform', 'msTransform' ]);
-    };
-    
-    
-    tests['csstransforms3d'] = function() {
-        
-        var ret = !!test_props([ 'perspectiveProperty', 'WebkitPerspective', 'MozPerspective', 'OPerspective', 'msPerspective' ]);
-        
-        // Webkit’s 3D transforms are passed off to the browser's own graphics renderer.
-        //   It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in
-        //   some conditions. As a result, Webkit typically recognizes the syntax but 
-        //   will sometimes throw a false positive, thus we must do a more thorough check:
-        if (ret && 'webkitPerspective' in docElement.style){
-          
-          // Webkit allows this media query to succeed only if the feature is enabled.    
-          // `@media (transform-3d),(-o-transform-3d),(-moz-transform-3d),(-ms-transform-3d),(-webkit-transform-3d),(modernizr){ ... }`    
-          ret = testMediaQuery('@media ('+prefixes.join('transform-3d),(')+'modernizr)');
-        }
-        return ret;
-    };
-    
-    
-    tests['csstransitions'] = function() {
-        return test_props_all( 'transitionProperty' );
-    };
-
-
-    // @font-face detection routine by Diego Perini
-    // http://javascript.nwbox.com/CSSSupport/
-    tests['fontface'] = function(){
-
-        var 
-        sheet, bool,
-        head = docHead || docElement,
-        style = document.createElement("style"),
-        impl = document.implementation || { hasFeature: function() { return false; } };
-        
-        style.type = 'text/css';
-        head.insertBefore(style, head.firstChild);
-        sheet = style.sheet || style.styleSheet;
-
-        var supportAtRule = impl.hasFeature('CSS2', '') ?
-                function(rule) {
-                    if (!(sheet && rule)) return false;
-                    var result = false;
-                    try {
-                        sheet.insertRule(rule, 0);
-                        result = (/src/i).test(sheet.cssRules[0].cssText);
-                        sheet.deleteRule(sheet.cssRules.length - 1);
-                    } catch(e) { }
-                    return result;
-                } :
-                function(rule) {
-                    if (!(sheet && rule)) return false;
-                    sheet.cssText = rule;
-                    
-                    return sheet.cssText.length !== 0 && (/src/i).test(sheet.cssText) &&
-                      sheet.cssText
-                            .replace(/\r+|\n+/g, '')
-                            .indexOf(rule.split(' ')[0]) === 0;
-                };
-        
-        bool = supportAtRule('@font-face { font-family: "font"; src: url(data:,); }');
-        head.removeChild(style);
-        return bool;
-    };
-    
-
-    // These tests evaluate support of the video/audio elements, as well as
-    // testing what types of content they support.
-    //
-    // We're using the Boolean constructor here, so that we can extend the value
-    // e.g.  Modernizr.video     // true
-    //       Modernizr.video.ogg // 'probably'
-    //
-    // Codec values from : http://github.com/NielsLeenheer/html5test/blob/9106a8/index.html#L845
-    //                     thx to NielsLeenheer and zcorpan
-    
-    // Note: in FF 3.5.1 and 3.5.0, "no" was a return value instead of empty string.
-    //   Modernizr does not normalize for that.
-    
-    tests['video'] = function() {
-        var elem = document.createElement('video'),
-            bool = !!elem.canPlayType;
-        
-        if (bool){  
-            bool      = new Boolean(bool);  
-            bool.ogg  = elem.canPlayType('video/ogg; codecs="theora"');
-            
-            // Workaround required for IE9, which doesn't report video support without audio codec specified.
-            //   bug 599718 @ msft connect
-            var h264 = 'video/mp4; codecs="avc1.42E01E';
-            bool.h264 = elem.canPlayType(h264 + '"') || elem.canPlayType(h264 + ', mp4a.40.2"');
-            
-            bool.webm = elem.canPlayType('video/webm; codecs="vp8, vorbis"');
-        }
-        return bool;
-    };
-    
-    tests['audio'] = function() {
-        var elem = document.createElement('audio'),
-            bool = !!elem.canPlayType;
-        
-        if (bool){  
-            bool      = new Boolean(bool);  
-            bool.ogg  = elem.canPlayType('audio/ogg; codecs="vorbis"');
-            bool.mp3  = elem.canPlayType('audio/mpeg;');
-            
-            // Mimetypes accepted: 
-            //   https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements
-            //   http://bit.ly/iphoneoscodecs
-            bool.wav  = elem.canPlayType('audio/wav; codecs="1"');
-            bool.m4a  = elem.canPlayType('audio/x-m4a;') || elem.canPlayType('audio/aac;');
-        }
-        return bool;
-    };
-
-
-    // Firefox has made these tests rather unfun.
-
-    // In FF4, if disabled, window.localStorage should === null.
-
-    // Normally, we could not test that directly and need to do a 
-    //   `('localStorage' in window) && ` test first because otherwise Firefox will
-    //   throw http://bugzil.la/365772 if cookies are disabled
-
-    // However, in Firefox 4 betas, if dom.storage.enabled == false, just mentioning
-    //   the property will throw an exception. http://bugzil.la/599479
-    // This looks to be fixed for FF4 Final.
-
-    // Because we are forced to try/catch this, we'll go aggressive.
-
-    // FWIW: IE8 Compat mode supports these features completely:
-    //   http://www.quirksmode.org/dom/html5.html
-    // But IE8 doesn't support either with local files
-
-    tests['localstorage'] = function() {
-        try {
-            return !!localStorage.getItem;
-        } catch(e) {
-            return false;
-        }
-    };
-
-    tests['sessionstorage'] = function() {
-        try {
-            return !!sessionStorage.getItem;
-        } catch(e){
-            return false;
-        }
-    };
-
-
-    tests['webWorkers'] = function () {
-        return !!window.Worker;
-    };
-
-
-    tests['applicationcache'] =  function() {
-        return !!window.applicationCache;
-    };
-
- 
-    // Thanks to Erik Dahlstrom
-    tests['svg'] = function(){
-        return !!document.createElementNS && !!document.createElementNS(ns.svg, "svg").createSVGRect;
-    };
-
-    tests['inlinesvg'] = function() {
-      var div = document.createElement('div');
-      div.innerHTML = '<svg/>';
-      return (div.firstChild && div.firstChild.namespaceURI) == ns.svg;
-    };
-
-    // Thanks to F1lt3r and lucideer
-    // http://github.com/Modernizr/Modernizr/issues#issue/35
-    tests['smil'] = function(){
-        return !!document.createElementNS && /SVG/.test(tostring.call(document.createElementNS(ns.svg,'animate')));
-    };
-
-    tests['svgclippaths'] = function(){
-        // Possibly returns a false positive in Safari 3.2?
-        return !!document.createElementNS && /SVG/.test(tostring.call(document.createElementNS(ns.svg,'clipPath')));
-    };
-
-
-    // input features and input types go directly onto the ret object, bypassing the tests loop.
-    // Hold this guy to execute in a moment.
-    function webforms(){
-    
-        // Run through HTML5's new input attributes to see if the UA understands any.
-        // We're using f which is the <input> element created early on
-        // Mike Taylr has created a comprehensive resource for testing these attributes
-        //   when applied to all input types: 
-        //   http://miketaylr.com/code/input-type-attr.html
-        // spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary
-        ret['input'] = (function(props) {
-            for (var i = 0, len = props.length; i<len; i++) {
-                attrs[ props[i] ] = !!(props[i] in inputElem);
-            }
-            return attrs;
-        })('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' '));
-
-        // Run through HTML5's new input types to see if the UA understands any.
-        //   This is put behind the tests runloop because it doesn't return a
-        //   true/false like all the other tests; instead, it returns an object
-        //   containing each input type with its corresponding true/false value 
-        
-        // Big thanks to @miketaylr for the html5 forms expertise. http://miketaylr.com/
-        ret['inputtypes'] = (function(props) {
-          
-            for (var i = 0, bool, inputElemType, defaultView, len=props.length; i < len; i++) {
-              
-                inputElem.setAttribute('type', inputElemType = props[i]);
-                bool = inputElem.type !== 'text';
-                
-                // We first check to see if the type we give it sticks.. 
-                // If the type does, we feed it a textual value, which shouldn't be valid.
-                // If the value doesn't stick, we know there's input sanitization which infers a custom UI
-                if (bool){  
-                  
-                    inputElem.value         = smile;
-                    inputElem.style.cssText = 'position:absolute;visibility:hidden;';
-     
-                    if (/^range$/.test(inputElemType) && inputElem.style.WebkitAppearance !== undefined){
-                      
-                      docElement.appendChild(inputElem);
-                      defaultView = document.defaultView;
-                      
-                      // Safari 2-4 allows the smiley as a value, despite making a slider
-                      bool =  defaultView.getComputedStyle && 
-                              defaultView.getComputedStyle(inputElem, null).WebkitAppearance !== 'textfield' &&                  
-                              // Mobile android web browser has false positive, so must
-                              // check the height to see if the widget is actually there.
-                              (inputElem.offsetHeight !== 0);
-                              
-                      docElement.removeChild(inputElem);
-                              
-                    } else if (/^(search|tel)$/.test(inputElemType)){
-                      // Spec doesnt define any special parsing or detectable UI 
-                      //   behaviors so we pass these through as true
-                      
-                      // Interestingly, opera fails the earlier test, so it doesn't
-                      //  even make it here.
-                      
-                    } else if (/^(url|email)$/.test(inputElemType)) {
-                      // Real url and email support comes with prebaked validation.
-                      bool = inputElem.checkValidity && inputElem.checkValidity() === false;
-                      
-                    } else if (/^color$/.test(inputElemType)) {
-                        // chuck into DOM and force reflow for Opera bug in 11.00
-                        // github.com/Modernizr/Modernizr/issues#issue/159
-                        docElement.appendChild(inputElem);
-                        docElement.offsetWidth; 
-                        bool = inputElem.value != smile;
-                        docElement.removeChild(inputElem);
-
-                    } else {
-                      // If the upgraded input compontent rejects the :) text, we got a winner
-                      bool = inputElem.value != smile;
-                    }
-                }
-                
-                inputs[ props[i] ] = !!bool;
-            }
-            return inputs;
-        })('search tel url email datetime date month week time datetime-local number range color'.split(' '));
-
-    }
-
-
-
-    // End of test definitions
-    // -----------------------
-
-
-
-    // Run through all tests and detect their support in the current UA.
-    // todo: hypothetically we could be doing an array of tests and use a basic loop here.
-    for ( var feature in tests ) {
-        if ( hasOwnProperty( tests, feature ) ) {
-            // run the test, throw the return value into the Modernizr,
-            //   then based on that boolean, define an appropriate className
-            //   and push it into an array of classes we'll join later.
-            featurename  = feature.toLowerCase();
-            ret[ featurename ] = tests[ feature ]();
-
-            classes.push( ( ret[ featurename ] ? '' : 'no-' ) + featurename );
-        }
-    }
-    
-    // input tests need to run.
-    if (!ret.input) webforms();
-    
-
-   
-    // Per 1.6: deprecated API is still accesible for now:
-    ret.crosswindowmessaging = ret.postmessage;
-    ret.historymanagement = ret.history;
-
-
-
-    /**
-     * Addtest allows the user to define their own feature tests
-     * the result will be added onto the Modernizr object,
-     * as well as an appropriate className set on the html element
-     * 
-     * @param feature - String naming the feature
-     * @param test - Function returning true if feature is supported, false if not
-     */
-    ret.addTest = function (feature, test) {
-      feature = feature.toLowerCase();
-      
-      if (ret[ feature ]) {
-        return; // quit if you're trying to overwrite an existing test
-      } 
-      test = !!(test());
-      docElement.className += ' ' + (test ? '' : 'no-') + feature; 
-      ret[ feature ] = test;
-      return ret; // allow chaining.
-    };
-
-    /**
-     * Reset m.style.cssText to nothing to reduce memory footprint.
-     */
-    set_css( '' );
-    modElem = inputElem = null;
-
-    //>>BEGIN IEPP
-    // Enable HTML 5 elements for styling in IE. 
-    // fyi: jscript version does not reflect trident version
-    //      therefore ie9 in ie7 mode will still have a jScript v.9
-    if ( enableHTML5 && window.attachEvent && (function(){ var elem = document.createElement("div");
-                                      elem.innerHTML = "<elem></elem>";
-                                      return elem.childNodes.length !== 1; })()) {
-        // iepp v1.6.2 by @jon_neal : code.google.com/p/ie-print-protector
-        (function(win, doc) {
-          var elems = 'abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video',
-            elemsArr = elems.split('|'),
-            elemsArrLen = elemsArr.length,
-            elemRegExp = new RegExp('(^|\\s)('+elems+')', 'gi'), 
-            tagRegExp = new RegExp('<(\/*)('+elems+')', 'gi'),
-            ruleRegExp = new RegExp('(^|[^\\n]*?\\s)('+elems+')([^\\n]*)({[\\n\\w\\W]*?})', 'gi'),
-            docFrag = doc.createDocumentFragment(),
-            html = doc.documentElement,
-            head = html.firstChild,
-            bodyElem = doc.createElement('body'),
-            styleElem = doc.createElement('style'),
-            body;
-          function shim(doc) {
-            var a = -1;
-            while (++a < elemsArrLen)
-              // Use createElement so IE allows HTML5-named elements in a document
-              doc.createElement(elemsArr[a]);
-          }
-          function getCSS(styleSheetList, mediaType) {
-            var a = -1,
-              len = styleSheetList.length,
-              styleSheet,
-              cssTextArr = [];
-            while (++a < len) {
-              styleSheet = styleSheetList[a];
-              // Get css from all non-screen stylesheets and their imports
-              if ((mediaType = styleSheet.media || mediaType) != 'screen') cssTextArr.push(getCSS(styleSheet.imports, mediaType), styleSheet.cssText);
-            }
-            return cssTextArr.join('');
-          }
-          // Shim the document and iepp fragment
-          shim(doc);
-          shim(docFrag);
-          // Add iepp custom print style element
-          head.insertBefore(styleElem, head.firstChild);
-          styleElem.media = 'print';
-          win.attachEvent(
-            'onbeforeprint',
-            function() {
-              var a = -1,
-                cssText = getCSS(doc.styleSheets, 'all'),
-                cssTextArr = [],
-                rule;
-              body = body || doc.body;
-              // Get only rules which reference HTML5 elements by name
-              while ((rule = ruleRegExp.exec(cssText)) != null)
-                // Replace all html5 element references with iepp substitute classnames
-                cssTextArr.push((rule[1]+rule[2]+rule[3]).replace(elemRegExp, '$1.iepp_$2')+rule[4]);
-              // Write iepp custom print CSS
-              styleElem.styleSheet.cssText = cssTextArr.join('\n');
-              while (++a < elemsArrLen) {
-                var nodeList = doc.getElementsByTagName(elemsArr[a]),
-                  nodeListLen = nodeList.length,
-                  b = -1;
-                while (++b < nodeListLen)
-                  if (nodeList[b].className.indexOf('iepp_') < 0)
-                    // Append iepp substitute classnames to all html5 elements
-                    nodeList[b].className += ' iepp_'+elemsArr[a];
-              }
-              docFrag.appendChild(body);
-              html.appendChild(bodyElem);
-              // Write iepp substitute print-safe document
-              bodyElem.className = body.className;
-              // Replace HTML5 elements with <font> which is print-safe and shouldn't conflict since it isn't part of html5
-              bodyElem.innerHTML = body.innerHTML.replace(tagRegExp, '<$1font');
-            }
-          );
-          win.attachEvent(
-            'onafterprint',
-            function() {
-              // Undo everything done in onbeforeprint
-              bodyElem.innerHTML = '';
-              html.removeChild(bodyElem);
-              html.appendChild(body);
-              styleElem.styleSheet.cssText = '';
-            }
-          );
-        })(window, document);
-    }
-    //>>END IEPP
-
-    // Assign private properties to the return object with prefix
-    ret._enableHTML5     = enableHTML5;
-    ret._version         = version;
-
-    // Remove "no-js" class from <html> element, if it exists:
-    docElement.className = docElement.className.replace(/\bno-js\b/,'') 
-                            + ' js '
-
-                            // Add the new classes to the <html> element.
-                            + classes.join( ' ' );
-    
-    return ret;
-
-})(this,this.document);

Plik diff jest za duży
+ 0 - 10
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Scripts/modernizr-1.7.min.js


+ 0 - 15
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/ViewModel/OurDemoViewModel.cs

@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using System.Web.Mvc;
-using System.IO;
-
-namespace BuildOurOwnBabylonJSServer.ViewModels
-{
-    public class OurDemoViewModel
-    {
-        public string Folder { get; set; }
-        public IDictionary<string, string> Dictionary { get; set; }
-    }
-}

+ 0 - 30
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/BabylonJSDemo/Index.cshtml

@@ -1,30 +0,0 @@
-@using BuildOurOwnBabylonJSServer.Extensions;
-@{
-    ViewBag.Title = "Our Own BabylonJS";
-    ViewBag.BabylonJSFolder = "..\\..\\..\\";
-}
-
-<script type="text/javascript">
-    $(document).ready(function () {
-
-        var loading = new OURBABYLON.Loading(OURBABYLON.canvas.parentElement);
-
-        loading.show();
-
-        BABYLON.SceneLoader.Load("@Html.Raw(this.BabylonJSSamplesFile("Scenes/" + (string)ViewBag.DemoFolderName))" + "@Url.Encode("/")", "@ViewBag.DemoFile", OURBABYLON.engine, function (scene) {
-            OURBABYLON.sceneInitialization(scene);
-            scene.activeCamera.attachControl(OURBABYLON.canvas);
-
-            // Render loop
-            var renderLoop = function () {
-                scene.render();
-            };
-
-            // Launch render loop
-            scene.getEngine().runRenderLoop(renderLoop);
-
-            loading.hide();
-
-        }, $.proxy(loading.onProgress, loading));
-    });
-</script>

+ 0 - 8
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Home/Index.cshtml

@@ -1,8 +0,0 @@
-@{
-    ViewBag.Title = "Our Own BabylonJS";
-    ViewBag.DoNotUseBabylonJS = true;
-}
-
-<div id="logo">
-<img src="@Url.Content("/Content/Logo.png")" />
-</div>

+ 0 - 47
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/OurDemo/sample.cshtml

@@ -1,47 +0,0 @@
-@model OurDemoViewModel
-@using BuildOurOwnBabylonJSServer.ViewModels
-@using System.Text.RegularExpressions
-
-@{
-    ViewBag.Title = "Our Own BabylonJS";
-    ViewBag.BabylonJSFolder = "..\\..\\..\\";
-
-    var myRegex = new Regex(@"[\\]", RegexOptions.Singleline);
-
-    Model.Folder = myRegex.Replace(Model.Folder, @"/");
-    Model.Folder = Model.Folder.Trim('/');
-
-    if (!String.IsNullOrEmpty(Model.Folder))
-    {
-        Model.Folder += "/";
-    }
-}
-
-<script type="text/javascript">
-    $(document).ready(function () {
-        BABYLON.SceneLoader.Load("/Content/@Model.Folder", "@Model.Dictionary["fileBJS"]" + ".babylon", OURBABYLON.engine, function (scene) {
-
-            scene.activeCamera = new BABYLON.ArcRotateCamera("defaultCamera", 0, 0, 100, BABYLON.Vector3.Zero(), scene);
-
-            scene.activeCamera.zoomOn();
-            scene.activeCamera.attachControl(OURBABYLON.canvas);
-
-            var material = new BABYLON.StandardMaterial("default", scene);
-            material.emissiveColor = new BABYLON.Color3(0.7, 0.7, 0.7);
-
-            for (var m in scene.meshes) {
-                scene.meshes[m].material = material;
-            }
-
-            // Render loop
-            var renderLoop = function () {
-                scene.render();
-            };
-
-            // Launch render loop
-            scene.getEngine().runRenderLoop(renderLoop);
-
-            OURBABYLON.currentScene = scene;
-        });
-    });
-</script>

+ 0 - 56
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/SandBox/Index.cshtml

@@ -1,56 +0,0 @@
-@{
-    ViewBag.Title = "Our Own BabylonJS";
-    ViewBag.BabylonJSFolder = "..\\..\\..\\";
-}
-<style>
-    #loadingInfos {
-        color: #888888;
-        cursor: default;
-        font-size: 30px;
-        height: 60px;
-        left: 0;
-        margin-top: -30px;
-        padding-top: 10px;
-        position: absolute;
-        text-align: center;
-        bottom: 0;
-        transition: transform 0.25s ease-in-out 0s;
-        width: calc(100% - 10px);
-        z-index: 3;
-        border: 5px dotted gray;
-        pointer-events: none;
-    }
-
-    #loadingInfos .content {
-        position: relative;
-        top: 50%;
-    }
-
-    .loadingInfos {
-        transform: translateX(120%);
-        -webkit-transform: translate(120%);
-    }
-</style>
-<div id="loadingInfos"><div class="content">Drag and drop your .babylon files inside, with associated assets</div></div>
-
-<script type="text/javascript">
-    $(document).ready(function () {
-        var loading = new OURBABYLON.Loading(OURBABYLON.canvas.parentElement);
-
-        var loadingInfos = document.getElementById("loadingInfos");
-
-        loadingInfos.style.height = (OURBABYLON.canvas.height-20)+"px";
-        window.addEventListener('resize', function () {
-            loadingInfos.style.height = (OURBABYLON.canvas.height - 20) + "px";
-        });
-
-        var filesInput = new BABYLON.FilesInput(OURBABYLON.engine, OURBABYLON.currentScene, OURBABYLON.canvas, function (sceneFile, babylonScene) {
-            OURBABYLON.sceneInitialization(babylonScene, true);
-            loading.hide();
-        }, $.proxy(loading.onProgress, loading), null, null, function () {
-            loading.show();
-            loadingInfos.className = "loadingInfos";
-        });
-        filesInput.monitorElementForDragNDrop(OURBABYLON.canvas);
-    });
-</script>

+ 0 - 9
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Shared/Error.cshtml

@@ -1,9 +0,0 @@
-@model System.Web.Mvc.HandleErrorInfo
-
-@{
-    ViewBag.Title = "Error";
-}
-
-<h2>
-    Sorry, an error occurred while processing your request.
-</h2>

+ 0 - 89
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Shared/_Layout.cshtml

@@ -1,89 +0,0 @@
-@using BuildOurOwnBabylonJSServer.Extensions;
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8" />
-    <title>@ViewBag.Title</title>
-    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
-    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
-    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
-    @if (ViewBag.DoNotUseBabylonJS == null)
-    {
-        @Html.Raw(this.BabylonJSStyle(@"Tools\BuildOurOwnBabylonJS\BuildOurOwnBabylonJSShared\Style\Loading.css"))
-        @Html.Raw(this.BabylonJSScript("cannon.js"))
-        @Html.Raw(this.BabylonJSScript(@"Tools\BuildOurOwnBabylonJS\BuildOurOwnBabylonJS\ourOwnBabylon.js"))
-        @Html.Raw(this.BabylonJSScript(@"Tools\BuildOurOwnBabylonJS\BuildOurOwnBabylonJSShared\Scripts\Loading.js"))
-        <script type="text/javascript">
-            var OURBABYLON = OURBABYLON || {};
-            $(document).ready(function(){
-                if (!BABYLON.Engine.isSupported()) {
-                    alert("Your browser does not support WebGL so you can't use BabylonJS on it");
-                    return;
-                }
-
-                OURBABYLON.canvas = document.getElementById("ourOwnBabylonJSCanvas");
-                OURBABYLON.engine = new BABYLON.Engine(OURBABYLON.canvas, true);
-
-                OURBABYLON.sceneInitialization = function (scene, attachControlToCamera) {
-                    OURBABYLON.currentScene = scene;
-                    if (!OURBABYLON.currentScene.activeCamera) {
-                        OURBABYLON.currentScene.activeCamera = new BABYLON.ArcRotateCamera("DefaultCamera", Math.PI / 2, 0, 10, new BABYLON.Vector3.Zero(), OURBABYLON.currentScene);
-                        OURBABYLON.currentScene.activeCamera.zoomOn();
-                        if (attachControlToCamera) {
-                            OURBABYLON.currentScene.activeCamera.attachControl(OURBABYLON.canvas);
-                        }
-                    }
-                    if (OURBABYLON.currentScene.lights.length == 0) {
-                        var light = new BABYLON.HemisphericLight("Default light", new BABYLON.Vector3(0, 1, 0), OURBABYLON.currentScene);
-                    }
-                };
-                window.addEventListener("resize", function () {
-                    OURBABYLON.engine.resize();
-                });
-
-                window.OURBABYLON = OURBABYLON;
-            });
-        </script>
-    }
-</head>
-<body>
-    <div id="main">
-        <div id="title">
-            <h1>@ViewBag.Title</h1>
-            <div id="menu">
-                <a href="@Url.Action("Index", "SandBox")">Sandbox</a>
-            </div>
-        </div>
-        @if (ViewBag.DoNotUseBabylonJS == null)
-        {
-        <canvas id="ourOwnBabylonJSCanvas"></canvas>
-        }
-        @RenderBody()
-        <script type="text/javascript">
-            var menu = document.getElementById("menu");
-
-            var req = new XMLHttpRequest();
-            req.open('GET', "@Html.Raw(this.BabylonJSSamplesFolder())");
-            req.onreadystatechange = function (evt) {
-                if (req.readyState == 4) {
-                    if (req.status == 200) {
-                        var json = JSON.parse(req.responseText);
-                        for (var i in json.files) {
-                            var span = document.createElement("span");
-                            span.innerHTML = " | ";
-                            menu.appendChild(span);
-
-                            var file = json.files[i];
-                            var a = document.createElement("a");
-                            a.setAttribute("href", file.url);
-                            a.textContent = file.linkName.charAt(0).toUpperCase() + file.linkName.slice(1);
-                            menu.appendChild(a);
-                        }
-                    }
-                }
-            };
-            req.send(null);
-        </script>
-    </div>
-</body>
-</html>

+ 0 - 58
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/Web.config

@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-
-<configuration>
-  <configSections>
-    <sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
-      <section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
-      <section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
-    </sectionGroup>
-  </configSections>
-
-  <system.web.webPages.razor>
-    <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
-    <pages pageBaseType="System.Web.Mvc.WebViewPage">
-      <namespaces>
-        <add namespace="System.Web.Mvc" />
-        <add namespace="System.Web.Mvc.Ajax" />
-        <add namespace="System.Web.Mvc.Html" />
-        <add namespace="System.Web.Routing" />
-      </namespaces>
-    </pages>
-  </system.web.webPages.razor>
-
-  <appSettings>
-    <add key="webpages:Enabled" value="false" />
-  </appSettings>
-
-  <system.web>
-    <httpHandlers>
-      <add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
-    </httpHandlers>
-
-    <!--
-        Enabling request validation in view pages would cause validation to occur
-        after the input has already been processed by the controller. By default
-        MVC performs request validation before a controller processes the input.
-        To change this behavior apply the ValidateInputAttribute to a
-        controller or action.
-    -->
-    <pages
-        validateRequest="false"
-        pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
-        pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
-        userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
-      <controls>
-        <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
-      </controls>
-    </pages>
-  </system.web>
-
-  <system.webServer>
-    <validation validateIntegratedModeConfiguration="false" />
-
-    <handlers>
-      <remove name="BlockViewHandler"/>
-      <add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
-    </handlers>
-  </system.webServer>
-</configuration>

+ 0 - 3
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Views/_ViewStart.cshtml

@@ -1,3 +0,0 @@
-@{
-    Layout = "~/Views/Shared/_Layout.cshtml";
-}

+ 0 - 30
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Web.Debug.config

@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
-
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <!--
-    In the example below, the "SetAttributes" transform will change the value of 
-    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
-    finds an atrribute "name" that has a value of "MyDB".
-    
-    <connectionStrings>
-      <add name="MyDB" 
-        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
-        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
-    </connectionStrings>
-  -->
-  <system.web>
-    <!--
-      In the example below, the "Replace" transform will replace the entire 
-      <customErrors> section of your web.config file.
-      Note that because there is only one customErrors section under the 
-      <system.web> node, there is no need to use the "xdt:Locator" attribute.
-      
-      <customErrors defaultRedirect="GenericError.htm"
-        mode="RemoteOnly" xdt:Transform="Replace">
-        <error statusCode="500" redirect="InternalError.htm"/>
-      </customErrors>
-    -->
-  </system.web>
-</configuration>

+ 0 - 31
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Web.Release.config

@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-
-<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
-
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
-  <!--
-    In the example below, the "SetAttributes" transform will change the value of 
-    "connectionString" to use "ReleaseSQLServer" only when the "Match" locator 
-    finds an atrribute "name" that has a value of "MyDB".
-    
-    <connectionStrings>
-      <add name="MyDB" 
-        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
-        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
-    </connectionStrings>
-  -->
-  <system.web>
-    <compilation xdt:Transform="RemoveAttributes(debug)" />
-    <!--
-      In the example below, the "Replace" transform will replace the entire 
-      <customErrors> section of your web.config file.
-      Note that because there is only one customErrors section under the 
-      <system.web> node, there is no need to use the "xdt:Locator" attribute.
-      
-      <customErrors defaultRedirect="GenericError.htm"
-        mode="RemoteOnly" xdt:Transform="Replace">
-        <error statusCode="500" redirect="InternalError.htm"/>
-      </customErrors>
-    -->
-  </system.web>
-</configuration>

+ 0 - 78
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/Web.config

@@ -1,78 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  For more information on how to configure your ASP.NET application, please visit
-  http://go.microsoft.com/fwlink/?LinkId=152368
-  -->
-<configuration>
-  <connectionStrings>
-    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
-  </connectionStrings>
-  <appSettings>
-    <add key="webpages:Version" value="1.0.0.0"/>
-    <add key="ClientValidationEnabled" value="true"/>
-    <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
-  </appSettings>
-  <!--
-    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
-
-    The following attributes can be set on the <httpRuntime> tag.
-      <system.Web>
-        <httpRuntime targetFramework="4.5" />
-      </system.Web>
-  -->
-  <system.web>
-    <compilation debug="true" targetFramework="4.5">
-      <assemblies>
-        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
-        <add assembly="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
-        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
-        <add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
-        <add assembly="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
-      </assemblies>
-    </compilation>
-    <authentication mode="Forms">
-      <forms loginUrl="~/Account/LogOn" timeout="2880"/>
-    </authentication>
-    <membership>
-      <providers>
-        <clear/>
-        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
-      </providers>
-    </membership>
-    <profile>
-      <providers>
-        <clear/>
-        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
-      </providers>
-    </profile>
-    <roleManager enabled="false">
-      <providers>
-        <clear/>
-        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
-        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
-      </providers>
-    </roleManager>
-    <pages controlRenderingCompatibilityVersion="4.0">
-      <namespaces>
-        <add namespace="System.Web.Helpers"/>
-        <add namespace="System.Web.Mvc"/>
-        <add namespace="System.Web.Mvc.Ajax"/>
-        <add namespace="System.Web.Mvc.Html"/>
-        <add namespace="System.Web.Routing"/>
-        <add namespace="System.Web.WebPages"/>
-      </namespaces>
-    </pages>
-  </system.web>
-  <system.webServer>
-    <validation validateIntegratedModeConfiguration="false"/>
-    <modules runAllManagedModulesForAllRequests="true"/>
-  </system.webServer>
-  <runtime>
-    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
-      <dependentAssembly>
-        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
-        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0"/>
-      </dependentAssembly>
-    </assemblyBinding>
-  </runtime>
-</configuration>

+ 0 - 94
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/WebViewPageExtensions.cs

@@ -1,94 +0,0 @@
-using System.Web.Mvc;
-using System.IO;
-using System.Text;
-using System.Web;
-using BuildOurOwnBabylonJSServer.Controllers;
-using System;
-
-namespace BuildOurOwnBabylonJSServer.Extensions
-{
-    public static class WebViewPageExtensions
-    {
-        public static string BabylonJSFile(this WebViewPage page,
-            string relPathToBabylonJSFolder)
-        {
-            if (page == null)
-                return null;
-
-            // relPath must be the last one so filename can be appended to it
-            var url = page.Url.Action(BuildOurOwnBabylonJSController.GetFileContentActionName,
-                                      "BuildOurOwnBabylonJS",
-                                      new { rootPath = page.ViewBag.BabylonJSFolder, relPath = relPathToBabylonJSFolder },
-                                      page.Request.Url.Scheme);
-
-            return url;
-        }
-        
-        public static IHtmlString BabylonJSScript(this WebViewPage page, 
-            string relPathToBabylonJSFolder)
-        {
-            if (page == null)
-                return null;
-
-            var type = "text/javascript";
-
-            var src = page.BabylonJSFile(relPathToBabylonJSFolder);
-
-            var script = new TagBuilder("script");
-            script.Attributes.Add("src", src);
-            script.Attributes.Add("type", type);
-
-            return page.Html.Raw(script.ToString(TagRenderMode.Normal));
-        }
-
-        public static IHtmlString BabylonJSStyle(this WebViewPage page,
-            string relPathToBabylonJSFolder) 
-        {
-            if (page == null)
-                return null;
-
-            var type = "text/css";
-
-            var src = page.BabylonJSFile(relPathToBabylonJSFolder);
-
-            var script = new TagBuilder("link");
-            script.Attributes.Add("href", src);
-            script.Attributes.Add("type", type);
-            script.Attributes.Add("rel", "stylesheet");
-
-            return page.Html.Raw(script.ToString(TagRenderMode.Normal));
-        }
-
-        public static string BabylonJSSamplesFile(this WebViewPage page,
-            string relPathToBabylonJSSamplesFolder)
-        {
-            if (page == null)
-                return null;
-
-            var babylonJSSamplesDirFullPath = Environment.GetEnvironmentVariable("BabylonJSSamplesDirFullPath");
-
-            // relPath must be the last one so filename can be appended to it
-            var url = page.Url.Action(BuildOurOwnBabylonJSController.GetFileContentActionName,
-                                      "BuildOurOwnBabylonJS",
-                                      new { rootPath = babylonJSSamplesDirFullPath, relPath = relPathToBabylonJSSamplesFolder },
-                                      page.Request.Url.Scheme);
-
-            return url;
-        }
-
-
-        public static string BabylonJSSamplesFolder(this WebViewPage page)
-        {
-            if (page == null)
-                return null;
-
-            var babylonJSSamplesDirFullPath = Environment.GetEnvironmentVariable("BabylonJSSamplesDirFullPath") + "\\Scenes";
-
-            var url = page.Url.Action(BuildOurOwnBabylonJSController.GetBabylonScenesActionName,
-                                      "BuildOurOwnBabylonJS",
-                                      new { rootPath = babylonJSSamplesDirFullPath },
-                                      page.Request.Url.Scheme);
-            return url;
-        }
-    }
-}

+ 0 - 10
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSServer/packages.config

@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
-  <package id="EntityFramework" version="4.1.10331.0" />
-  <package id="jQuery" version="1.5.1" />
-  <package id="jQuery.UI.Combined" version="1.8.11" />
-  <package id="jQuery.Validation" version="1.8.0" />
-  <package id="jQuery.vsdoc" version="1.5.1" />
-  <package id="Modernizr" version="1.7" />
-  <package id="Newtonsoft.Json" version="6.0.2" targetFramework="net45" />
-</packages>

+ 0 - 56
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/BuildOurOwnBabylonJSShared.csproj

@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{F0ABEBA9-1D9B-47C8-9033-E054BF198791}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>BuildOurOwnBabylonJSShared</RootNamespace>
-    <AssemblyName>BuildOurOwnBabylonJSShared</AssemblyName>
-    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="System" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <Content Include="Style\Loading.css" />
-    <Content Include="Scripts\Loading.js" />
-  </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target>
-  -->
-</Project>

+ 0 - 36
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/Properties/AssemblyInfo.cs

@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("BuildOurOwnBabylonJSShared")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("BuildOurOwnBabylonJSShared")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("fd7a67c2-19d4-455a-9c9c-17f50b2a08b0")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]

+ 0 - 45
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/Scripts/Loading.js

@@ -1,45 +0,0 @@
-var OURBABYLON = OURBABYLON || {};
-
-(function () {
-    OURBABYLON.Loading = function (container, loadingMessage) {
-        //Be careful while using document.body as container, if you do not specify a 'overflow-x: hidden' it will pop a horizontal scrollbar.
-        container = container || document.body;
-
-        this._loadingBack = document.createElement("div");//loadingBackDiv;
-        this._loadingBack.id = "loadingBack";
-
-        this._loadingText = document.createElement("div");//loadingTextDiv;
-        this._loadingText.id = "loadingText";
-
-        this.hide();
-
-        container.appendChild(this._loadingBack);
-        container.appendChild(this._loadingText);
-
-        this._loadingMessage = loadingMessage || "Loading, please wait ...";
-    };
-
-    OURBABYLON.Loading.prototype.show = function () {
-        this._loadingBack.className = "";
-        this._loadingText.className = "";
-        this._loadingText.innerHTML = this._loadingMessage;
-    };
-
-    OURBABYLON.Loading.prototype.hide = function () {
-        this._loadingBack.className = "loadingBack";
-        this._loadingText.className = "loadingText";
-    };
-
-    OURBABYLON.Loading.prototype.changeMessage = function (newMessage) {
-        this._loadingText.innerHTML = newMessage;
-    };
-
-    OURBABYLON.Loading.prototype.onProgress = function (evt) {
-        if (evt.lengthComputable) {
-            this.changeMessage("Loading, please wait..." + (evt.loaded * 100 / evt.total).toFixed() + "%");
-        } else {
-            dlCount = evt.loaded / (1024 * 1024);
-            this.changeMessage("Loading, please wait..." + Math.floor(dlCount * 100.0) / 100.0 + " MB already loaded.");
-        }
-    };
-})();

+ 0 - 0
Tools/BuildOurOwnBabylonJS/BuildOurOwnBabylonJSShared/Style/Loading.css


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików