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

Commit 0478dd8

Browse files
committed
Update to 0.3.2
1 parent 40248eb commit 0478dd8

File tree

7 files changed

+53
-17
lines changed

7 files changed

+53
-17
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,43 @@ Build version of [ibm-js/dpointer](https://github.com/ibm-js/dpointer).
55
## Status
66

77
No official release yet.
8-
8+
9+
## Installation
10+
11+
_Bower_ release installation:
12+
13+
$ bower install dpointer-build
14+
15+
_Manual_ master installation:
16+
17+
$ git clone git://github.com/ibm-js/dpointer-build.git
18+
19+
Then install dependencies with bower (or manually from github if you prefer to):
20+
21+
$ cd dpointer-build
22+
$ bower install
23+
24+
25+
## How to use
26+
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"`.
29+
30+
For example, this:
31+
```
32+
require(["app/main", "dpointer/foo"], function() {
33+
...
34+
});
35+
```
36+
Becomes:
37+
```
38+
require(["dpointer-build/layer"], function() {
39+
require(["app/main", "dpointer/foo"], function() {
40+
...
41+
});
42+
});
43+
```
44+
945
## Licensing
1046

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

boot.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

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.3.1",
3+
"version": "0.3.2",
44
"dependencies": {
5-
"requirejs-dplugins": "0.2.x"
5+
"requirejs-dplugins": "0.3.x"
66
},
77
"devDependencies": {
8-
"dpointer": "0.3.1"
8+
"dpointer": "0.3.2"
99
},
1010
"ignore": [
1111
".jshintrc",

layer.js

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

samples/capture.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</script>
8080

8181
<script type="text/javascript">
82-
require(["dpointer-build/boot"], function(){
82+
require(["dpointer-build/layer"], function(){
8383
require([
8484
"dpointer/events",
8585
"requirejs-domready/domReady!"

samples/paint-with-capture.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
</script>
5858

5959
<script type="text/javascript">
60-
require(["dpointer-build/boot"], function(){
60+
require(["dpointer-build/layer"], function(){
6161
require([
6262
"dpointer/events",
6363
"requirejs-domready/domReady!"

samples/paint.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</script>
5353

5454
<script type="text/javascript">
55-
require(["dpointer-build/boot"], function(){
55+
require(["dpointer-build/layer"], function(){
5656
require([
5757
"dpointer/events",
5858
"requirejs-domready/domReady!"

0 commit comments

Comments
 (0)