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

Commit 5ec7991

Browse files
committed
update to 0.5.1
1 parent 4636049 commit 5ec7991

File tree

4 files changed

+27
-7
lines changed

4 files changed

+27
-7
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ Then install dependencies with bower (or manually from github if you prefer to):
2424

2525
## How to use
2626

27-
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
28-
refer to modules with `"dpointer/foo"`.
27+
### `baseUrl` is the directory containing `dpointer-build`.
28+
This is the most common use-case so the needed configuration is built in the layer.
29+
To load the minified layer you just need to wrap your main `require` call with another `require`, requiring `"dpointer-build/layer"`.
30+
Then you should continue to refer to modules with `"dpointer/foo"`.
2931

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

47+
### Other `baseUrl`
48+
49+
If `baseUrl` is not the directory containing `dpointer-build`, custom configuration is needed.
50+
51+
```js
52+
require.config({
53+
paths: {
54+
"dpointer": "path/to/dpointer-build"
55+
}
56+
});
57+
```
58+
59+
60+
## Bug reporting
61+
62+
Issues should be filled against the source version of this project at [ibm-js/dpointer](https://github.com/ibm-js/dpointer)
63+
64+
4565
## Licensing
4666

4767
This project is distributed by the Dojo Foundation and licensed under the ["New" BSD License](./LICENSE).

bower.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "dpointer-build",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"dependencies": {
5-
"requirejs-dplugins": "0.5.x"
5+
"requirejs-dplugins": "0.6.x"
66
},
77
"devDependencies": {
8-
"dpointer": "0.5.0"
8+
"dpointer": "0.5.1"
99
},
1010
"ignore": [
1111
".jshintrc",

layer.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)