misc comments

This commit is contained in:
Adam Shaw
2014-02-03 00:14:01 -08:00
parent c8219f6238
commit 39dd3f08f4
4 changed files with 8 additions and 3 deletions
+1
View File
@@ -709,6 +709,7 @@ function Calendar(element, instanceOptions) {
------------------------------------------------------------------------*/
if (options.droppable) {
// TODO: unbind on destroy
$(document)
.bind('dragstart', function(ev, ui) {
var _e = ev.target;
+1
View File
@@ -28,6 +28,7 @@ function SelectionManager() {
// unselectAuto
if (opt('selectable') && opt('unselectAuto')) {
// TODO: unbind on destroy
$(document).mousedown(function(ev) {
var ignore = opt('unselectCancel');
if (ignore) {
+2
View File
@@ -52,6 +52,7 @@ function makeMoment(args, parseUTC, parseZone) {
isAmbigZone = true;
}
// instantiate a vanilla moment
if (parseUTC || parseZone || isAmbigTime) {
mom = moment.utc.apply(moment, args);
}
@@ -96,6 +97,7 @@ function FCMoment(config) {
// chain the prototype to Moment's
FCMoment.prototype = createObject(moment.fn);
// we need this because Moment's implementation will not copy of the ambig flags
FCMoment.prototype.clone = function() {
return makeMoment([ this ]);
};