Skip to content

Commit

Permalink
Fix missed readme updates from lerna monorepo refactor (#234)
Browse files Browse the repository at this point in the history
- Documentation links in main readme
- Missing includes in Electron example

Fixes #233
  • Loading branch information
bingenito authored Apr 8, 2019
1 parent 8c3119c commit 1006640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ container agnostic and provide portability when multiple container deployments a
Usage
---------------

The first step is to simply [resolve](https://morgan-stanley.github.io/desktopJS/modules/_registry_.html#resolvecontainer) the current [container](https://morgan-stanley.github.io/desktopJS/classes/_container_.container.html). This enumerates
The first step is to simply [resolve](https://morgan-stanley.github.io/desktopJS/modules/_morgan_stanley_desktopjs.html#resolvecontainer) the current [container](https://morgan-stanley.github.io/desktopJS/classes/_morgan_stanley_desktopjs.container.html). This enumerates
all registered containers (including your own custom container or derived custom implementations) and
returns the container implementation that matches.

Expand All @@ -26,7 +26,7 @@ var container = desktopJS.resolveContainer();
console.log("Container: " + container.hostType);
```

Interact with the [container](https://morgan-stanley.github.io/desktopJS/classes/_container_.container.html) via a single api instead of having conditional code or applications
Interact with the [container](https://morgan-stanley.github.io/desktopJS/classes/_morgan_stanley_desktopjs.container.html) via a single api instead of having conditional code or applications
based on deployment.

```
Expand Down
5 changes: 3 additions & 2 deletions examples/electron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ node process.
From your bootstrap, use the same consistent api as you would from your application.

```
const desktopJS = require('desktopjs');
const electron = require('electron');
const desktopJS = require('@morgan-stanley/desktopjs');
const djsElectron = require('@morgan-stanley/desktopjs-electron');
const app = electron.app;
let mainWindow;
Expand All @@ -41,6 +41,7 @@ index.html
<html>
<head>
<script type="text/javascript" src="desktop.js"></script>
<script type="text/javascript" src="desktopjs-electron.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
Expand Down

0 comments on commit 1006640

Please sign in to comment.