Skip to content
This repository has been archived by the owner on Feb 2, 2020. It is now read-only.

Commit

Permalink
update to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
clmath committed Nov 19, 2015
1 parent 4636049 commit 5ec7991
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ Then install dependencies with bower (or manually from github if you prefer to):

## How to use

To load the minified layer you need to wrap your main `require` call with another `require`, requiring `"dpointer-build/layer"`. Then you should continue to
refer to modules with `"dpointer/foo"`.
### `baseUrl` is the directory containing `dpointer-build`.
This is the most common use-case so the needed configuration is built in the layer.
To load the minified layer you just need to wrap your main `require` call with another `require`, requiring `"dpointer-build/layer"`.
Then you should continue to refer to modules with `"dpointer/foo"`.

For example, this code:
```js
Expand All @@ -42,6 +44,24 @@ require(["dpointer-build/layer"], function() {
});
```

### Other `baseUrl`

If `baseUrl` is not the directory containing `dpointer-build`, custom configuration is needed.

```js
require.config({
paths: {
"dpointer": "path/to/dpointer-build"
}
});
```


## Bug reporting

Issues should be filled against the source version of this project at [ibm-js/dpointer](https://github.com/ibm-js/dpointer)


## Licensing

This project is distributed by the Dojo Foundation and licensed under the ["New" BSD License](./LICENSE).
Expand Down
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "dpointer-build",
"version": "0.5.0",
"version": "0.5.1",
"dependencies": {
"requirejs-dplugins": "0.5.x"
"requirejs-dplugins": "0.6.x"
},
"devDependencies": {
"dpointer": "0.5.0"
"dpointer": "0.5.1"
},
"ignore": [
".jshintrc",
Expand Down
2 changes: 1 addition & 1 deletion layer.js

Large diffs are not rendered by default.

Loading

0 comments on commit 5ec7991

Please sign in to comment.