Kaynağa Gözat

remove columnFormat

Adam Shaw 7 yıl önce
ebeveyn
işleme
6913e77033

+ 0 - 1
src/component/DayTableMixin.ts

@@ -90,7 +90,6 @@ export default class DayTableMixin extends Mixin implements DayTableInterface {
     this.colCnt = this.computeColCnt()
     this.colHeadFormat = createFormatter(
       (this as any).opt('columnHeaderFormat') ||
-      (this as any).opt('columnFormat') || // deprecated
       this.computeColHeadFormat()
     )
   }

+ 1 - 1
tests/automated/legacy/columnHeaderFormat.js

@@ -1,7 +1,7 @@
 
 describe('columnHeaderFormat', function() {
 
-  describe('when columnFormat is not set', function() {
+  describe('when not set', function() {
 
     var viewWithFormat = [
       { view: 'month', expected: 'Sun', selector: 'th.fc-day-header.fc-sun' },

+ 1 - 1
tests/manual/options.html

@@ -65,7 +65,7 @@
       },
       */
 
-      columnFormat: {
+      columnHeaderFormat: {
         month: "dddd"
         //agenda: "ddd M/d!!!" // BUG: this wont work. agenda doesn't override our default for 'week'
       },