Skip to content

Commit

Permalink
Some bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Hugs committed Dec 9, 2016
1 parent 7eb0e45 commit 110685d
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 81 deletions.
File renamed without changes.
51 changes: 0 additions & 51 deletions backlogs-panel/gruntfile.js

This file was deleted.

File renamed without changes
13 changes: 4 additions & 9 deletions backlogs-panel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,20 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script src="dist/VSS.SDK.min.js"></script>
<script src="lib/VSS.SDK.min.js"></script>

<link href="dist/main.css" rel="stylesheet"></link>
<link href="css/main.css" rel="stylesheet"></link>
</head>
<body>
<script type="text/javascript">
// Initialize framework
VSS.init({
explicitNotifyLoaded: true,
usePlatformScripts: true,
moduleLoaderConfig: {
paths: {
"scripts": "dist"
}
}
usePlatformScripts: true
});

// Load main entry point for extension
VSS.require(["dist/app"], function () {
VSS.require(["scripts/app"], function () {
// Loading succeeded
VSS.notifyLoadSucceeded();
});
Expand Down
17 changes: 8 additions & 9 deletions backlogs-panel/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"devDependencies": {
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-exec": "~1.0.0",
"grunt-ts": "6.0.0-beta.3",
"ncp": "^2.0.0",
"rimraf": "^2.5.4",
"tfx-cli": "^0.3.45",
"typescript": "^2.1.4"
},
"scripts": {
"build": "tsc -p .",
"postbuild": "npm run package",
"package": "tfx extension create",
"clean": "rimraf ./dist && rimraf ./*.vsix"
},
"name": "tags-mru",
"private": true,
"version": "0.0.0",
Expand All @@ -17,8 +19,5 @@
"@types/react": "^0.14.54",
"@types/react-dom": "^0.14.19",
"vss-web-extension-sdk": "^1.109.0"
},
"scripts": {
"build": "grunt"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions backlogs-panel/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
]
},
"include": [
"scripts/**/*.ts",
"scripts/**/*.tsx"
"src/**/*.ts",
"src/**/*.tsx"
]
}
18 changes: 14 additions & 4 deletions backlogs-panel/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"manifestVersion": 1,
"id": "vsts-sample-backlogs-panel",
"version": "0.1.0",
"version": "0.1.4",
"name": "Details panel",
"scopes": [ "vso.work" ],
"description": "Sample backlog panel extension that appears on all the backlog levels.",
"publisher": "ms-samples",
"public": false,
"icons": {
"default": "img/logo.png"
"default": "images/logo.png"
},
"targets": [
{
Expand Down Expand Up @@ -37,16 +37,26 @@
},
"files": [
{
"path": "img",
"path": "images",
"addressable": true
},
{
"path": "dist",
"path": "css",
"addressable": true
},
{
"path": "dist",
"addressable": true,
"packagePath": "scripts"
},
{
"path": "index.html",
"addressable": true
},
{
"path": "node_modules/vss-web-extension-sdk/lib",
"addressable": true,
"packagePath": "lib"
}
],
"categories": [
Expand Down
2 changes: 1 addition & 1 deletion build-results-enhancer/buildDumpSection.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
usePlatformScripts: true,
moduleLoaderConfig: {
paths: {
"enhancer": "scripts/enhancer"
"enhancer": "scripts"
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion build-results-enhancer/infoTab.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
VSS.init( {
usePlatformScripts: true,
moduleLoaderConfig: {
paths: { "enhancer": "scripts/enhancer" }
paths: { "enhancer": "scripts" }
}
});

Expand Down
2 changes: 1 addition & 1 deletion build-results-enhancer/statusSection.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
VSS.init( {
usePlatformScripts: true,
moduleLoaderConfig: {
paths: { "enhancer": "scripts/enhancer" }
paths: { "enhancer": "scripts" }
}
});

Expand Down
2 changes: 1 addition & 1 deletion build-results-enhancer/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifestVersion": 1,
"id": "samples-build-results-enhancer",
"version": "0.2.2",
"version": "0.2.3",
"name": "Build Results Enhancer",
"description": "A simple extension that demonstrates how to extend build summary page.",
"publisher": "fabrikam",
Expand Down
5 changes: 3 additions & 2 deletions calendar-public-events/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
usePlatformScripts: true,
moduleLoaderConfig: {
paths: {
"PublicEvents": "scripts/PublicEvents"
"PublicEvents": "scripts"
}
}
});

VSS.require( [ "PublicEvents/PublicEventsSource" ], function (PubEvents) {
VSS.register("public-events-source", function (context) {
var context = VSS.getExtensionContext();
VSS.register(context.publisherId + "." + context.extensionId + "." + "public-events-source", function (context) {
return new PubEvents.PublicEventsSource();
});
VSS.notifyLoadSucceeded();
Expand Down

0 comments on commit 110685d

Please sign in to comment.