ソースを参照

remove initThemingProps. still there b/c of merge

Adam Shaw 8 年 前
コミット
2b10197f0a
1 ファイル変更0 行追加16 行削除
  1. 0 16
      src/common/ChronoComponent.js

+ 0 - 16
src/common/ChronoComponent.js

@@ -9,11 +9,6 @@ var ChronoComponent = Model.extend({
 	isRTL: false,
 	nextDayThreshold: null,
 
-	// classNames styled by jqui themes
-	widgetHeaderClass: null,
-	widgetContentClass: null,
-	highlightStateClass: null,
-
 
 	constructor: function() {
 		Model.call(this);
@@ -22,7 +17,6 @@ var ChronoComponent = Model.extend({
 
 		this.nextDayThreshold = moment.duration(this.opt('nextDayThreshold'));
 		this.isRTL = this.opt('isRTL');
-		this.initThemingProps();
 	},
 
 
@@ -54,16 +48,6 @@ var ChronoComponent = Model.extend({
 	},
 
 
-	// Initializes internal variables related to theming
-	initThemingProps: function() {
-		var tm = this.opt('theme') ? 'ui' : 'fc';
-
-		this.widgetHeaderClass = tm + '-widget-header';
-		this.widgetContentClass = tm + '-widget-content';
-		this.highlightStateClass = tm + '-state-highlight';
-	},
-
-
 	// Element
 	// -----------------------------------------------------------------------------------------------------------------