0.0.4
Pre-release
Pre-release
Changed
- Moved logging methods into a new
Log
object plus fixed brokenfn()
method (néecurrentFn()
)
which identifies the currently executing function name. - Logging helper methods
debug()
,warn()
, anderror()
methods now call respective
console
methods in browsers that support them. - Additional fix for issue where
init()
callback could potentially execute before all
prerequisite CSS & JS files had completely loaded (esp. when including JS as browser
globals) by resolving all promises prior to calling_inject()
. - Fixed minor JS syntax warnings identified by JSHint.
Added
- Internal
Log
class containing previous logging methods (as mentioned above), plus new
startTimer()
andstopTimer()
methods for performance timing whenlog_level
is set
todebug
. - Added
package.json
andGruntfile.js
files for automating syntax validation with JSHint.