From 6ff73d50e0cd678413e98577a14347b8ff8e2179 Mon Sep 17 00:00:00 2001 From: DamianEdwards Date: Fri, 2 May 2014 22:51:29 -0700 Subject: [PATCH] Minor changes: - Fixed mismatched quotes - Made PageGenerator depend directly on Razor instead of Mvc, as that's all it needs - Rebased on latest dev changes - #11 --- .gitignore | 3 ++- src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs | 2 +- src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.js | 4 ++-- src/PageGenerator/Project.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index aba9c594d7..08e21e25bf 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,5 @@ nuget.exe *DS_Store *.ncrunchsolution *.*sdf -*.ipch \ No newline at end of file +*.ipch +*.sln.ide \ No newline at end of file diff --git a/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs b/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs index d21b4b5b9d..cc429e1755 100644 --- a/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs +++ b/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.cs @@ -1016,7 +1016,7 @@ using Views #line default #line hidden - WriteLiteral(" \r\n \r\n\r\n"); } } diff --git a/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.js b/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.js index 4f6ca6a2a4..da220c76ad 100644 --- a/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.js +++ b/src/Microsoft.AspNet.Diagnostics/Views/ErrorPage.js @@ -135,9 +135,9 @@ if (el.addEventListener) { // DOM Events el.addEventListener(eventName, callback, false); } else if (el.attachEvent) { // IE8 events - el.attachEvent('on' + eventName, callback) + el.attachEvent("on" + eventName, callback) } else { - el['on' + type] = callback; + el["on" + type] = callback; } }); diff --git a/src/PageGenerator/Project.json b/src/PageGenerator/Project.json index 159d891d01..8ba728063f 100644 --- a/src/PageGenerator/Project.json +++ b/src/PageGenerator/Project.json @@ -2,7 +2,7 @@ "dependencies": { "Microsoft.AspNet.Diagnostics": "", "Microsoft.Net.Runtime.Interfaces": "0.1.0-alpha-*", - "Microsoft.AspNet.Mvc": "0.1.0-alpha-*" + "Microsoft.AspNet.Razor": "0.1.0-alpha-*" }, "configurations" : {