Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 330ec8a3f30941243ab9d332bce223514edd686d 1 parent 6ed4340
nanaze authored
1  AUTHORS
@@ -6,3 +6,4 @@
6 6 Google Inc.
7 7 Mohamed Mansour <hello@mohamedmansour.com>
8 8 Bjorn Tipilng <bjorn.tipling@gmail.com>
  9 +SameGoal LLC <help@samegoal.com>
3  closure/goog/ui/imagelessbuttonrenderer.js
@@ -30,6 +30,7 @@ goog.provide('goog.ui.ImagelessButtonRenderer');
30 30 goog.require('goog.ui.Button');
31 31 goog.require('goog.ui.ControlContent');
32 32 goog.require('goog.ui.CustomButtonRenderer');
  33 +goog.require('goog.ui.INLINE_BLOCK_CLASSNAME');
33 34 goog.require('goog.ui.registry');
34 35
35 36
@@ -116,7 +117,7 @@ goog.ui.ImagelessButtonRenderer.prototype.getContentElement = function(
116 117 goog.ui.ImagelessButtonRenderer.prototype.createButton = function(content,
117 118 dom) {
118 119 var baseClass = this.getCssClass();
119   - var inlineBlock = goog.getCssName('goog-inline-block') + ' ';
  120 + var inlineBlock = goog.ui.INLINE_BLOCK_CLASSNAME + ' ';
120 121 return dom.createDom('div',
121 122 inlineBlock + goog.getCssName(baseClass, 'outer-box'),
122 123 dom.createDom('div',
3  closure/goog/ui/style/app/buttonrenderer.js
@@ -31,6 +31,7 @@ goog.provide('goog.ui.style.app.ButtonRenderer');
31 31 goog.require('goog.ui.Button');
32 32 goog.require('goog.ui.ControlContent');
33 33 goog.require('goog.ui.CustomButtonRenderer');
  34 +goog.require('goog.ui.INLINE_BLOCK_CLASSNAME');
34 35 goog.require('goog.ui.registry');
35 36
36 37
@@ -117,7 +118,7 @@ goog.ui.style.app.ButtonRenderer.prototype.getContentElement = function(
117 118 goog.ui.style.app.ButtonRenderer.prototype.createButton = function(content,
118 119 dom) {
119 120 var baseClass = this.getStructuralCssClass();
120   - var inlineBlock = 'goog-inline-block ';
  121 + var inlineBlock = goog.ui.INLINE_BLOCK_CLASSNAME + ' ';
121 122 return dom.createDom('div', inlineBlock + baseClass + '-outer-box',
122 123 dom.createDom('div', inlineBlock + baseClass + '-inner-box',
123 124 dom.createDom('div', baseClass + '-pos',

0 comments on commit 330ec8a

Please sign in to comment.
Something went wrong with that request. Please try again.