Skip to content

Commit

Permalink
docs: update to @webex names
Browse files Browse the repository at this point in the history
  • Loading branch information
adamweeks committed Jan 21, 2020
1 parent 5c476f9 commit dbbedff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -31,8 +31,8 @@ The basic components are just presentational React <https://github.com/facebook/

While many of our components are purely presentational, some have extended functionality that provide a piece of the full Webex experience. These fully self contained elements are called `Widgets` and are available here:

- [Space Widget](./packages/node_modules/@ciscospark/widget-space)
- [Recents Widget](./packages/node_modules/@ciscospark/widget-recents)
- [Space Widget](./packages/node_modules/@webex/widget-space)
- [Recents Widget](./packages/node_modules/@webex/widget-recents)

## Usage

Expand Down Expand Up @@ -60,8 +60,8 @@ $ npm start
When a widget is bundled and loaded via script tag, the version number is available in the following ways:

- A comment at the top of each bundled file
- Programmatic access after a widget has been registered: `window.ciscospark.widgetFn.{widgetName}.version` (e.g. `window.ciscospark.widgetFn.spaceWidget.version`)
- Access after a widget has been instantiated: `window.ciscospark.widget({widgetEl}).version` (e.g. `window.ciscospark.widget(document.getElementById('myWidget')).version`)
- Programmatic access after a widget has been registered: `window.webex.widgetFn.{widgetName}.version` (e.g. `window.webex.widgetFn.spaceWidget.version`)
- Access after a widget has been instantiated: `window.webex.widget({widgetEl}).version` (e.g. `window.webex.widget(document.getElementById('myWidget')).version`)

## Coding Style

Expand Down
2 changes: 1 addition & 1 deletion SCRIPTS.md
Expand Up @@ -69,7 +69,7 @@ Builds the dependency chain for each module by utilizing the [detective-es6](htt

### `npm run build:widgets`

Runs a webpack build and transpile on all packages that start with '@ciscospark/widget'.
Runs a webpack build and transpile on all packages that start with '@webex/widget'.

* Executes [`webpackBuild`](#webpackBuild) command.
* Executes [`transpile`](#transpile) command.
Expand Down

0 comments on commit dbbedff

Please sign in to comment.