mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Rename browser subfolder to dom, since we'll be using it on Node too.
This commit is contained in:
parent
7644016d66
commit
ecbde1af14
3 changed files with 3 additions and 4 deletions
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
var DomEvent = {
|
||||
add: function(el, events) {
|
||||
console.log('add', el.nodeName, events);
|
||||
for (var type in events) {
|
||||
var func = events[type];
|
||||
if (el.addEventListener) {
|
|
@ -92,10 +92,8 @@ var paper = new function() {
|
|||
/*#*/ include('style/GradientStop.js');
|
||||
/*#*/ include('style/Style.js');
|
||||
|
||||
/*#*/ if (options.browser) {
|
||||
/*#*/ include('browser/DomElement.js');
|
||||
/*#*/ include('browser/DomEvent.js');
|
||||
/*#*/ } // options.browser
|
||||
/*#*/ include('dom/DomElement.js');
|
||||
/*#*/ include('dom/DomEvent.js');
|
||||
|
||||
/*#*/ include('ui/View.js');
|
||||
/*#*/ include('ui/CanvasView.js');
|
||||
|
|
Loading…
Reference in a new issue