Skip to content

Commit e091e29

Browse files
committed
tests and server working
2 parents af6e2e8 + dd45f7e commit e091e29

File tree

282 files changed

+49624
-3450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+49624
-3450
lines changed

src/courses/Linq/Slides/02-ReadNumbersExcercise.cs

+14-14
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ public void ParseNumber_Sample()
3333
int[] numbers = ParseNumbers(File.ReadLines("numbers.txt"));
3434
}
3535

36-
[Exercise(SingleStatement = true)]
37-
[Hint("`int.Parse` преобразует строку в целое число.")]
36+
[Exercise(SingleStatement = true)]
37+
[Hint("`int.Parse` преобразует строку в целое число.")]
3838
public int[] ParseNumbers(IEnumerable<string> lines)
39-
{
40-
return lines
41-
.Where(line => line != "")
42-
.Select(int.Parse)
43-
.ToArray();
44-
/*uncomment
45-
return lines
46-
.Where(...)
47-
.Select(...)
48-
...
49-
*/
50-
}
39+
{
40+
return lines
41+
.Where(line => line != "")
42+
.Select(int.Parse)
43+
.ToArray();
44+
/*uncomment
45+
return lines
46+
.Where(...)
47+
.Select(...)
48+
...
49+
*/
50+
}
5151

5252

5353

src/uLearn.Web/App_Start/BundleConfig.cs

+16-7
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,34 @@ public class BundleConfig
77
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
88
public static void RegisterBundles(BundleCollection bundles)
99
{
10-
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
10+
bundles.Add(new ScriptBundle("~/jquery").Include(
1111
"~/Scripts/jquery-{version}.js"));
1212

13-
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
13+
bundles.Add(new ScriptBundle("~/jqueryval").Include(
1414
"~/Scripts/jquery.validate*"));
1515

1616
// Use the development version of Modernizr to develop with and learn from. Then, when you're
1717
// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
18-
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
18+
bundles.Add(new ScriptBundle("~/modernizr").Include(
1919
"~/Scripts/modernizr-*"));
2020

21-
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
21+
bundles.Add(new ScriptBundle("~/codemirror").Include(
22+
"~/codemirror/lib/codemirror.js",
23+
"~/codemirror/mode/clike/clike.js",
24+
"~/codemirror/addon/hint/show-hint.js",
25+
//"~/codemirror/addon/hint/anyword-hint.js",
26+
"~/codemirror/addon/hint/csharp-hint.js"
27+
));
28+
29+
bundles.Add(new ScriptBundle("~/bootstrap").Include(
2230
"~/Scripts/bootstrap.js",
2331
"~/Scripts/respond.js"));
2432

25-
bundles.Add(new StyleBundle("~/Content/css").Include(
33+
bundles.Add(new StyleBundle("~/css").Include(
2634
"~/Content/bootstrap.css",
27-
"~/Content/codemirror.css",
28-
"~/Content/cobalt.css",
35+
"~/codemirror/lib/codemirror.css",
36+
"~/codemirror/theme/cobalt.css",
37+
"~/codemirror/addon/hint/show-hint.css",
2938
"~/Content/lessons.css",
3039
"~/Content/site.css"));
3140
}

src/uLearn.Web/Content/codemirror.css

-176
This file was deleted.

src/uLearn.Web/Scripts/_references.js

19.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)