Skip to content

Commit

Permalink
Cleaned up tab indentation on @mshafrir's pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
Twipped committed Jun 19, 2012
1 parent a2fecef commit be30d0a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main.js
Expand Up @@ -2,14 +2,14 @@ var today;

var Kalendae = function (targetElement, options) {
//if the first argument isn't an element and isn't a string, assume that it is the options object
var is_element = false;
try {
is_element = targetElement instanceof Element;
}
catch (err) {
is_element = !!targetElement && is_element.nodeType === 1;
}
if (!(is_element || typeof(targetElement) === 'string')) options = targetElement;
var is_element = false;
try {
is_element = targetElement instanceof Element;
}
catch (err) {
is_element = !!targetElement && is_element.nodeType === 1;
}
if (!(is_element || typeof(targetElement) === 'string')) options = targetElement;

var self = this,
classes = self.classes,
Expand Down

0 comments on commit be30d0a

Please sign in to comment.