Skip to content

Commit

Permalink
Small formatting and dependency cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed Feb 22, 2012
1 parent 1efe1e5 commit d7959c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/frontend_js/position.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
goog.require('concerto.frontend.Field');
goog.require('goog.array');
goog.require('goog.dom');
goog.require('goog.object');
goog.require('goog.style');

Expand Down Expand Up @@ -29,7 +30,8 @@ concerto.frontend.Position = function(template, opt_div) {
* Create the div to use for the position.
*/
concerto.frontend.Position.prototype.createDiv = function() {
var div = goog.dom.createDom('div', {'id': this.id, 'class': 'field'});
var properties = {'id': 'position_' + this.id, 'class': 'position'};
var div = goog.dom.createDom('div', properties);
goog.style.setStyle(div, 'position', 'absolute');
goog.style.setStyle(div, 'background-color', 'green');
this.template.inject(div);
Expand Down
2 changes: 2 additions & 0 deletions public/frontend_js/screen.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
goog.require('concerto.frontend.template');
goog.require('goog.dom');
goog.require('goog.net.XhrIo');
goog.require('goog.net.XhrManager');
goog.require('goog.style');

goog.provide('concerto.frontend.screen');

Expand Down

0 comments on commit d7959c1

Please sign in to comment.