Skip to content

Commit

Permalink
Fixes after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseroka committed Feb 23, 2014
1 parent dce3003 commit e08d103
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 14 deletions.
2 changes: 1 addition & 1 deletion JavaScript.AMD.Chutzpah/readme.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Readme:
-----------------------
* Set "TypeScript" mode in Chutzpah Visual Studio AddIn and restart Visual Studio
* Set "JavaScript" mode in Chutzpah Visual Studio AddIn and restart Visual Studio
2 changes: 1 addition & 1 deletion JavaScript.NoAMD.Chutzpah/FrontEndTools.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrontEndTools.WebUI.Scripts
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{73CE7725-46B7-4067-8D6C-B35BAE9C3045}"
ProjectSection(SolutionItems) = preProject
FrontEndTools.WebUI\chutzpah.json = FrontEndTools.WebUI\chutzpah.json
chutzpah.json = chutzpah.json
EndProjectSection
EndProject
Global
Expand Down
Binary file added JavaScript.NoAMD.Chutzpah/Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions JavaScript.NoAMD.Chutzpah/chutzpah.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"Framework": "jasmine",
"TestHarnessReferenceMode": "Normal",
"References" : [
{ "Path": "FrontEndTools.WebUI/lib/knockout.js" }
]
"TestHarnessReferenceMode": "Normal"
}
3 changes: 3 additions & 0 deletions JavaScript.NoAMD.Chutzpah/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Readme:
-----------------------
* Set "JavaScript" mode in Chutzpah Visual Studio AddIn and restart Visual Studio
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference path="/../FrontEndTools.WebUI/Services/ColorCalculator.js"/>
///<reference path="/lib/jasmine/jasmine.js"/>
///<reference path="../../../FrontEndTools.WebUI/Services/ColorCalculator.js"/>
///<reference path="../../lib/jasmine/jasmine.js"/>

//---------------------------------------------------------------------
describe("ColorCalculator tests", function () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///<reference path="/../FrontEndTools.WebUI/ViewModels/ColorBoxViewModel.js"/>
///<reference path="/lib/jasmine/jasmine.js"/>
///<reference path="../../../FrontEndTools.WebUI/ViewModels/ColorBoxViewModel.js"/>
///<reference path="../../lib/jasmine/jasmine.js"/>

//---------------------------------------------------------------------
describe("ColorBoxViewModel tests", function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Content Include="config.js" />
<Content Include="lib\jasmine\jasmine.js" />
<TypeScriptCompile Include="lib\jasmine\jasmine.d.ts" />
<TypeScriptCompile Include="Tests\Services\ColorCalculatorTest.ts" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
requirejs.config({
paths: {
//because of TestHarnessLocationMode - SettingsFileAdjacent all references here are relative to
//chutzpah.json file location
'knockout': 'FrontEndTools.WebUI/lib/knockout'
}
});
8 changes: 5 additions & 3 deletions TypeScript.AMD.Chutzpah/chutzpah.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"Framework": "jasmine",
"TestHarnessLocationMode": "SettingsFileAdjacent",
"TestHarnessReferenceMode": "AMD",
"TypeScriptModuleKind": "AMD",
"References" : [
{ "Path": "FrontEndTools.WebUI/lib/knockout.js" },
{ "Path": "FrontEndTools.WebUI/lib/require.js" },
{ "Path": "FrontEndTools.WebUI", "IncludeInTestHarness": "false" },
{ "Path": "FrontEndTools.WebUI.Scripts.Test", "IncludeInTestHarness": "false" },
{ "Path": "FrontEndTools.WebUI.Scripts.Test/config.js" },
{ "Path": "FrontEndTools.WebUI/lib", "Include": "*.js", "IncludeInTestHarness": "false" },
{ "Path": "FrontEndTools.WebUI/", "Include": "*.ts", "IncludeInTestHarness": "false" },
{ "Path": "FrontEndTools.WebUI.Scripts.Test", "Include": "*.ts", "IncludeInTestHarness": "false" },
]
}
9 changes: 8 additions & 1 deletion TypeScript.NoAMD.Chutzpah/FrontEndTools.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrontEndTools.WebUI", "FrontEndTools.WebUI\FrontEndTools.WebUI.csproj", "{C0369B2C-3BF5-4B01-904D-F217627625DC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrontEndTools.WebUI.Scripts.Test", "FrontEndTools.WebUI.Scripts.Test\FrontEndTools.WebUI.Scripts.Test.csproj", "{C640283C-1C51-40ED-8F01-319CCEE189D6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{D06BA799-762D-4C90-9900-BED2399CE67D}"
ProjectSection(SolutionItems) = preProject
chutzpah.json = chutzpah.json
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
Binary file added TypeScript.NoAMD.Chutzpah/Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions TypeScript.NoAMD.Chutzpah/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Readme:
-----------------------
* Set "TypeScript" mode in Chutzpah Visual Studio AddIn and restart Visual Studio

0 comments on commit e08d103

Please sign in to comment.