Commit Graph

14 Commits

Author SHA1 Message Date
John Firebaugh
9885b55125 Add bootstrap-tooltip to Makefile 2012-12-27 18:52:56 -08:00
John Firebaugh
6a4b75aa88 latedrag functionality was merged into iD.behavior.drag 2012-12-21 12:29:59 -08:00
John Firebaugh
2c40de62be Add iD.behavior.drag
`iD.behavior.drag` is like `d3.behavior.drag`, with the following differences:

* The `origin` function is expected to return an [x, y] tuple rather than an
  {x, y} object.
* The events are `start`, `move`, and `end`.
  (https://github.com/mbostock/d3/issues/563)
* The `start` event is not dispatched until the first cursor movement occurs.
  (https://github.com/mbostock/d3/pull/368)
* The `move` event has a `loc` and `dxdy` [x, y] tuple properties rather
  than `x`, `y`, `dx`, and `dy` properties.
* The `end` event is not dispatched if no movement occurs.
* An `off` function is available that unbinds the drag's internal event handlers.
* Delegation is supported via the `delegate` function.
2012-12-21 12:10:43 -08:00
John Firebaugh
e8147fdd29 Add d3.latedrag.js to package 2012-12-15 09:45:32 -08:00
John Firebaugh
7691693f1d Add d3.keybinding.js to package 2012-12-05 16:14:39 -05:00
John Firebaugh
33beb3d2f0 Split actions into separate files 2012-12-05 16:14:39 -05:00
John Firebaugh
435be12529 Split modes into separate files 2012-12-05 12:52:26 -05:00
Tom MacWright
fbe56c795e Update makefile to uglify2 2012-12-05 12:49:25 -05:00
John Firebaugh
8ac56355bf use strict mode in packaged output
Note that this requires wrapping all of iD, but not
third party libraries, in a function and enabling
strict mode only within that function. We can't be sure
that our dependencies are strict-safe (d3 isn't).
2012-12-04 14:04:31 -05:00
John Firebaugh
44933c471f Test against packaged result 2012-12-04 14:00:29 -05:00
Tom MacWright
4f7d9460ae Build with oauth, use more chaining 2012-12-02 14:20:57 -05:00
John Firebaugh
59e72e797a Fix file case 2012-12-01 08:49:13 -08:00
Tom MacWright
f198203fbe Oauth, working 2012-11-19 21:32:15 -05:00
Tom MacWright
35ee548487 Add makefile and lodash. 2012-11-13 22:04:10 -05:00