Skip to content

Commit a0ec0a8

Browse files
authored
Update README.md
1 parent 7a146bf commit a0ec0a8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,12 @@ Include the library in your JavaScript file with `const MicrosoftGraph = require
1919
Include [lib/graph-js-sdk-web.js](https://github.com/microsoftgraph/msgraph-sdk-javascript/raw/master/lib/graph-js-sdk-web.js) in your page.
2020
```html
2121
<script type="text/javascript" src="graph-js-sdk-web.js"></script>
22-
<script type="text/javascript">
23-
const client = MicrosoftGraph.Client.init({
24-
authProvider: (done) => {
25-
done(null, "PassInAccessTokenHere"); //first parameter takes an error if you can't get an access token
26-
}
27-
});
28-
...
29-
</script>
3022
```
3123
## Changelog
3224
#### 0.2.0
3325
* Initialize the client library with `MicrosoftGraph.Client.init({...})`
3426
* Added response handling tests to simulate Graph calls
35-
* Added type declarations file for core client library, which adds intelisense for chained methods.
27+
* Added type declarations file for core client library, which adds intellisense for chained methods.
3628

3729

3830
## Usage

0 commit comments

Comments
 (0)