Skip to content

Commit

Permalink
herp derp, local scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
Twipped committed Mar 8, 2012
1 parent b04bb06 commit bb3dd1f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 37 deletions.
3 changes: 1 addition & 2 deletions build/kalendae.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,7 @@ Kalendae.util.domReady(function () {
});

Kalendae.Input = function (targetElement, options) {

this.input = $input = util.$(targetElement);
var $input = this.input = util.$(targetElement);

if (!$input || $input.tagName !== 'INPUT') throw "First argument for Kalendae.Input must be an <input> element or a valid element id.";

Expand Down
Loading

0 comments on commit bb3dd1f

Please sign in to comment.