remove window useage + change iife method

This commit is contained in:
Mike Barrett 2012-12-23 16:22:23 +00:00
parent 473eadc8d7
commit 18f863a784

View File

@ -1,8 +1,8 @@
!function(window){ (function(){
"use strict"; "use strict";
window.Timestring = function(settings) { this.Timestring = function(settings) {
// default settings // default settings
var defaults = { var defaults = {
hoursPerDay: 24, hoursPerDay: 24,
@ -99,4 +99,4 @@
return (new Timestring(settings)).parse(this, unit); return (new Timestring(settings)).parse(this, unit);
} }
}(window); }).call(this);