vss-web-extension-sdk
Advanced tools
Comparing version 3.121.0 to 4.125.0
{ | ||
"name": "vss-web-extension-sdk", | ||
"version": "3.121.0", | ||
"version": "4.125.0", | ||
"description": "Visual Studio Team Services web extension JavaScript library and types.", | ||
@@ -31,3 +31,4 @@ "repository": { | ||
"@types/jqueryui": ">=1.11.31", | ||
"@types/knockout": ">=3.4.38", | ||
"@types/knockout": ">=3.4.46", | ||
"@types/mousetrap": "~1.5.34", | ||
"@types/q": "0.0.32", | ||
@@ -38,4 +39,4 @@ "@types/react": ">=15.3.1", | ||
"devDependencies": { | ||
"typescript": "~2.3.4" | ||
"typescript": "~2.5.3" | ||
} | ||
} |
@@ -22,3 +22,3 @@ # Visual Studio Services Web Extension SDK | ||
``` | ||
```html | ||
<script src="lib/VSS.SDK.min.js"></script> | ||
@@ -29,3 +29,3 @@ ``` | ||
``` | ||
```json | ||
{ | ||
@@ -47,3 +47,3 @@ "files": [{ | ||
```javascript | ||
```html | ||
<script> | ||
@@ -53,4 +53,4 @@ | ||
VSS.init({ | ||
usePlatformScripts: true, | ||
usePlatformStyles: true | ||
usePlatformScripts: true, | ||
usePlatformStyles: true | ||
}); | ||
@@ -60,3 +60,3 @@ | ||
VSS.ready(function() { | ||
// Start using VSS | ||
// Start using VSS | ||
}); | ||
@@ -85,3 +85,3 @@ | ||
* Set ```"moduleResolution": "node"``` in your `tfsconfig.json` project file | ||
* Set `"moduleResolution": "node"` in your `tsconfig.json` project file | ||
@@ -92,3 +92,3 @@ See [TypeScript Module Resolution](https://www.typescriptlang.org/docs/handbook/module-resolution.html) for more details. | ||
``` | ||
```ts | ||
/// <reference types="vss-web-extension-sdk" /> | ||
@@ -153,3 +153,3 @@ ``` | ||
``` | ||
```js | ||
{ | ||
@@ -188,3 +188,3 @@ /* other details like ID, version, etc are omitted */ | ||
``` | ||
```js | ||
{ | ||
@@ -229,3 +229,2 @@ /* details omitted */ | ||
```html | ||
<head> | ||
@@ -243,12 +242,12 @@ <script src="../lib/VSS.SDK.min.js"></script> | ||
// Initialize the VSS sdk | ||
VSS.init({ | ||
usePlatformScripts: true, | ||
usePlatformStyles: true | ||
}); | ||
VSS.require(["dist/app"], function (app) { | ||
... | ||
}); | ||
// Initialize the VSS sdk | ||
VSS.init({ | ||
usePlatformScripts: true, | ||
usePlatformStyles: true | ||
}); | ||
VSS.require(["dist/app"], function (app) { | ||
... | ||
}); | ||
</script> | ||
@@ -255,0 +254,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
66266
2356288
7
12
250
+ Added@types/mousetrap@~1.5.34
+ Added@types/mousetrap@1.5.34(transitive)
Updated@types/knockout@>=3.4.46