Skip to content

0.0.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@morgant morgant released this 29 Oct 05:39
· 8 commits to master since this release

Changed

  • Moved logging methods into a new Log object plus fixed broken fn() method (née currentFn())
    which identifies the currently executing function name.
  • Logging helper methods debug(), warn(), and error() 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() and stopTimer() methods for performance timing when log_level is set
    to debug.
  • Added package.json and Gruntfile.js files for automating syntax validation with JSHint.