Rename browser subfolder to dom, since we'll be using it on Node too.

This commit is contained in:
Jürg Lehni 2013-05-09 00:21:58 -07:00
parent 7644016d66
commit ecbde1af14
3 changed files with 3 additions and 4 deletions

View file

@ -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) {

View file

@ -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');