Permalink
Browse files

Ingestion of patch http://codereview.appspot.com/1641041/show

Issue 1641041: Fix Issue 120: Replace uses of goog-inline-block with goog.ui.INLINE_BLOCK_CLASSNAME




git-svn-id: http://closure-library.googlecode.com/svn/trunk@154 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
  • Loading branch information...
1 parent 6ed4340 commit 330ec8a3f30941243ab9d332bce223514edd686d nanaze committed Jun 21, 2010
Showing with 5 additions and 2 deletions.
  1. +1 −0 AUTHORS
  2. +2 −1 closure/goog/ui/imagelessbuttonrenderer.js
  3. +2 −1 closure/goog/ui/style/app/buttonrenderer.js
View
1 AUTHORS
@@ -6,3 +6,4 @@
Google Inc.
Mohamed Mansour <hello@mohamedmansour.com>
Bjorn Tipilng <bjorn.tipling@gmail.com>
+SameGoal LLC <help@samegoal.com>
View
3 closure/goog/ui/imagelessbuttonrenderer.js
@@ -30,6 +30,7 @@ goog.provide('goog.ui.ImagelessButtonRenderer');
goog.require('goog.ui.Button');
goog.require('goog.ui.ControlContent');
goog.require('goog.ui.CustomButtonRenderer');
+goog.require('goog.ui.INLINE_BLOCK_CLASSNAME');
goog.require('goog.ui.registry');
@@ -116,7 +117,7 @@ goog.ui.ImagelessButtonRenderer.prototype.getContentElement = function(
goog.ui.ImagelessButtonRenderer.prototype.createButton = function(content,
dom) {
var baseClass = this.getCssClass();
- var inlineBlock = goog.getCssName('goog-inline-block') + ' ';
+ var inlineBlock = goog.ui.INLINE_BLOCK_CLASSNAME + ' ';
return dom.createDom('div',
inlineBlock + goog.getCssName(baseClass, 'outer-box'),
dom.createDom('div',
View
3 closure/goog/ui/style/app/buttonrenderer.js
@@ -31,6 +31,7 @@ goog.provide('goog.ui.style.app.ButtonRenderer');
goog.require('goog.ui.Button');
goog.require('goog.ui.ControlContent');
goog.require('goog.ui.CustomButtonRenderer');
+goog.require('goog.ui.INLINE_BLOCK_CLASSNAME');
goog.require('goog.ui.registry');
@@ -117,7 +118,7 @@ goog.ui.style.app.ButtonRenderer.prototype.getContentElement = function(
goog.ui.style.app.ButtonRenderer.prototype.createButton = function(content,
dom) {
var baseClass = this.getStructuralCssClass();
- var inlineBlock = 'goog-inline-block ';
+ var inlineBlock = goog.ui.INLINE_BLOCK_CLASSNAME + ' ';
return dom.createDom('div', inlineBlock + baseClass + '-outer-box',
dom.createDom('div', inlineBlock + baseClass + '-inner-box',
dom.createDom('div', baseClass + '-pos',

0 comments on commit 330ec8a

Please sign in to comment.