Factor out css.js and fix requires

This commit is contained in:
Tom Payne
2013-04-05 20:21:26 +02:00
parent 4520d81153
commit da1e5aadd3
10 changed files with 26 additions and 23 deletions

View File

@@ -6,8 +6,8 @@ goog.require('goog.dom');
goog.require('goog.dom.TagName');
goog.require('goog.events');
goog.require('goog.events.EventType');
goog.require('ol');
goog.require('ol.control.Control');
goog.require('ol.css');
/**
@@ -44,7 +44,7 @@ ol.control.Zoom = function(opt_options) {
goog.events.EventType.CLICK
], this.handleOut_, false, this);
var cssClasses = 'ol-zoom ' + ol.CSS_CLASS_UNSELECTABLE;
var cssClasses = 'ol-zoom ' + ol.css.CLASS_UNSELECTABLE;
var element = goog.dom.createDom(goog.dom.TagName.DIV, cssClasses, inElement,
outElement);