Skip to content
Browse files

refactor remove color from Link

  • Loading branch information...
1 parent b4ede3d commit 4ec904aee9fd70431da3d90be60a37c17ffb7ace @jakub-g jakub-g committed with divdavem Feb 25, 2013
Showing with 2 additions and 12 deletions.
  1. +1 −7 src/aria/widgets/CfgBeans.js
  2. +1 −5 src/aria/widgets/action/Link.js
View
8 src/aria/widgets/CfgBeans.js
@@ -1033,13 +1033,7 @@ Aria.beanDefinitions({
"LinkCfg" : {
$type : "ActionWidgetCfg",
- $description : "The base configuration for the link widget",
- $properties : {
- color : {
- $type : "json:String",
- $description : "The color of the text for the link"
- }
- }
+ $description : "The base configuration for the link widget"
},
"SpriteCfg" : {
View
6 src/aria/widgets/action/Link.js
@@ -49,10 +49,6 @@ Aria.classDefinition({
*/
_widgetMarkup : function (out) {
var cfg = this._cfg;
- if (cfg.color) {
- // Todo: remove this temporary backward compatible fix:
- this.$logWarn(this.WIDGET_PROPERTY_DEPRECATION, ['color']);
- }
out.write(['<a', Aria.testMode ? ' id="' + this._domId + '_link"' : '', ' class="xLink_', cfg.sclass,
'" href="javascript:(function(){})()"',
(cfg.tabIndex != null ? ' tabindex=' + this._calculateTabIndex() + '"' : ''), '>',
@@ -117,4 +113,4 @@ Aria.classDefinition({
return true;
}
}
-});
+});

0 comments on commit 4ec904a

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