Skip to content

Releases: DiscoveryMap/UMbed

0.0.6

26 Mar 16:38
Compare
Choose a tag to compare
0.0.6 Pre-release
Pre-release

Changed

  • Fix for _inject() potentially not being called in a browser globals environment
    running Turbolinks.

0.0.5

29 Oct 18:56
Compare
Choose a tag to compare
0.0.5 Pre-release
Pre-release

Changed

  • Fix for errors in Log startTimer() and stopTimer() methods if browser doesn't support
    console.time() and console.timeEnd().
  • Fix for warnings in _includeCSS() and _includeJS() caused by non-unique timer labels.

0.0.4

29 Oct 05:39
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-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.

0.0.3

14 Oct 02:35
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release

Released: 2018-10-13

Changed

  • 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().

0.0.2

14 Jun 21:20
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release

Released: 2018-06-14

Added

  • Internal _log() method for consistent logging (incl. calling function), plus internal
    _info(), _warn(), and error() helper methods.
  • log_level option (debug, info, warn, or error) for UMbed() which sets the
    minimum level of log messages to show in the console (default: warn)
  • dependencies option for UMbed() to specify prerequisites (in addition to hard-coding)
  • Initial HTML test files (currently only embed via browser globals)

Changed

  • Fix for UMbed() call queueing & syntax error introduced when adapted from DMIWebMapEmbed.js
  • Fixed issue where init() callback could potentially execute before all prerequisite
    CSS & JS files had completely loaded (esp. when including JS as browser globals, i.e.
    no module loader available) by utilizing promises
  • Updated README

0.0.1

14 Jun 21:02
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Released: 2018-06-07

Added

  • Initial version of src/UMbed.js adapted from Discovery Map International's
    DMIWebMapEmbed.js (by permission)
  • Initial README describing the project
  • MIT license LICENSE file
  • CHANGELOG file