Skip to content

Commit 29cf942

Browse files
committed
migrated to VSCode and added Bower
1 parent 72156c9 commit 29cf942

File tree

147 files changed

+505
-9600
lines changed

Some content is hidden

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

147 files changed

+505
-9600
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "lib/"
3+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.vscode
2+
node_modules
3+
lib

.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
dev
1+
.vscode
2+
node_modules
3+
lib
4+
test
5+
demo

bower.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "linq4js",
3+
"description": "Linq methods for JavaScript/TypeScript for working with Arrays",
4+
"main": "dist/linq4js.js",
5+
"authors": [
6+
"Morris Janatzek"
7+
],
8+
"license": "MIT",
9+
"keywords": [
10+
"Linq",
11+
".NET",
12+
"TypeScript",
13+
"JavaScript",
14+
"Array",
15+
"Sorting"
16+
],
17+
"homepage": "https://github.com/morrisjdev/Linq4JS",
18+
"ignore": [
19+
".vscode",
20+
"node_modules",
21+
"lib",
22+
"test",
23+
"demo"
24+
],
25+
"devDependencies": {
26+
"qunit": "^2.1.1"
27+
}
28+
}
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ var displayClass = (function () {
1616
var Helper = (function () {
1717
function Helper() {
1818
}
19-
Helper.draw = function () {
20-
var innerContent = "";
21-
Helper.users.Select("u => new displayClass(u)").ForEach(function (u) {
22-
innerContent += "User: " + u.TestProp + " <br>";
23-
});
24-
var contentObj = document.getElementById("content");
25-
contentObj.innerHTML = innerContent;
26-
};
2719
return Helper;
2820
}());
21+
Helper.draw = function () {
22+
var innerContent = "";
23+
Helper.users.Select("u => new displayClass(u)").ForEach(function (u) {
24+
innerContent += "User: " + u.TestProp + " <br>";
25+
});
26+
var contentObj = document.getElementById("content");
27+
contentObj.innerHTML = innerContent;
28+
};
2929
window.onload = function () {
3030
Helper.users = new Array();
3131
Helper.users = Helper.users.Clone();
@@ -50,4 +50,3 @@ window.onload = function () {
5050
//test.Remove(new testClass("test55", 3, 1), x => x.OtherId);
5151
//console.log(test);
5252
//console.log(test.Count(x => x.Id > 3));
53-
//# sourceMappingURL=app.js.map

demo/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
3+
<html lang="en">
4+
<head>
5+
<meta charset="utf-8" />
6+
<title>TypeScript HTML App</title>
7+
8+
<script src="../dist/linq4js.js"></script>
9+
<script src="demo.js"></script>
10+
</head>
11+
<body>
12+
<h1>TypeScript HTML App</h1>
13+
14+
<div id="content"></div>
15+
</body>
16+
</html>

dev/.vs/config/applicationhost.config

Lines changed: 0 additions & 1039 deletions
This file was deleted.

0 commit comments

Comments
 (0)