Skip to content

Commit

Permalink
fix date-picker
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Mar 3, 2014
1 parent 3a67c8c commit 5b7b5ec
Show file tree
Hide file tree
Showing 23 changed files with 53 additions and 53 deletions.
18 changes: 9 additions & 9 deletions build/date/picker-min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/date/picker-xtpl-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/date/picker-xtpl.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2014, KISSY v1.50
MIT Licensed
build time: Feb 25 19:34
build time: Mar 3 14:47
*/
/*
Combined modules by KISSY Module Compiler:
Expand Down Expand Up @@ -185,7 +185,7 @@ KISSY.add("date/picker-xtpl", [], function(S, require, exports, module) {
var id63 = scope.resolve(["id"]);
buffer += escapeHtml(id63);
buffer += '">\n ';
var id64 = scope.resolve(["renderDates"]);
var id64 = callCommandUtil(engine, scope, undefined, "renderDates", 64);
if(id64 || id64 === 0) {
buffer += id64
}
Expand Down
18 changes: 9 additions & 9 deletions build/date/picker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright 2014, KISSY v1.50
MIT Licensed
build time: Feb 25 19:34
build time: Mar 3 14:47
*/
/*
Combined modules by KISSY Module Compiler:
Expand Down Expand Up @@ -287,12 +287,12 @@ KISSY.add("date/picker/year-panel/years-xtpl", [], function(S, require, exports,
return buffer
};
buffer += ifCommand.call(engine, scope, option25, payload);
buffer += '\n ">\n <a hidefocus="on"\n href="#"\n class="';
buffer += '\n ">\n <a hidefocus="on"\n href="#"\n unselectable="on"\n class="';
var option33 = {};
var params34 = [];
params34.push("year");
option33.params = params34;
var id32 = callCommandUtil(engine, scope, option33, "getBaseCssClasses", 19);
var id32 = callCommandUtil(engine, scope, option33, "getBaseCssClasses", 20);
buffer += escapeHtml(id32);
buffer += '">\n ';
var id35 = scope.resolve(["content"]);
Expand Down Expand Up @@ -552,12 +552,12 @@ KISSY.add("date/picker/decade-panel/decades-xtpl", [], function(S, require, expo
return buffer
};
buffer += ifCommand.call(engine, scope, option26, payload);
buffer += '\n ">\n <a hidefocus="on"\n href="#"\n class="';
buffer += '\n ">\n <a hidefocus="on"\n href="#"\n unselectable="on"\n class="';
var option34 = {};
var params35 = [];
params35.push("decade");
option34.params = params35;
var id33 = callCommandUtil(engine, scope, option34, "getBaseCssClasses", 18);
var id33 = callCommandUtil(engine, scope, option34, "getBaseCssClasses", 19);
buffer += escapeHtml(id33);
buffer += '">\n ';
var id36 = scope.resolve(["startDecade"]);
Expand Down Expand Up @@ -777,7 +777,7 @@ KISSY.add("date/picker/year-panel/control", ["node", "component/control", "./ren
}
function setUpDecadePanel() {
var self = this;
var decadePanel = new DecadePanel({locale:this.get("locale"), render:self.get("el")});
var decadePanel = new DecadePanel({locale:this.get("locale"), render:self.get("render")});
decadePanel.on("select", onDecadePanelSelect, self);
return decadePanel
}
Expand Down Expand Up @@ -847,12 +847,12 @@ KISSY.add("date/picker/month-panel/months-xtpl", [], function(S, require, export
return buffer
};
buffer += ifCommand.call(engine, scope, option11, payload);
buffer += '\n ">\n <a hidefocus="on"\n href="#"\n class="';
buffer += '\n ">\n <a hidefocus="on"\n href="#"\n unselectable="on"\n class="';
var option19 = {};
var params20 = [];
params20.push("month");
option19.params = params20;
var id18 = callCommandUtil(engine, scope, option19, "getBaseCssClasses", 13);
var id18 = callCommandUtil(engine, scope, option19, "getBaseCssClasses", 14);
buffer += escapeHtml(id18);
buffer += '">\n ';
var id21 = scope.resolve(["content"]);
Expand Down Expand Up @@ -1045,7 +1045,7 @@ KISSY.add("date/picker/month-panel/control", ["node", "component/control", "../y
}
function setUpYearPanel() {
var self = this;
var yearPanel = new YearPanel({locale:this.get("locale"), render:self.get("el")});
var yearPanel = new YearPanel({locale:this.get("locale"), render:self.get("render")});
yearPanel.on("select", onYearPanelSelect, self);
return yearPanel
}
Expand Down
Loading

0 comments on commit 5b7b5ec

Please sign in to comment.