Releases: DiscoveryMap/UMbed
Releases · DiscoveryMap/UMbed
0.0.6
0.0.5
0.0.4
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.
0.0.3
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
Released: 2018-06-14
Added
- Internal
_log()
method for consistent logging (incl. calling function), plus internal
_info()
,_warn()
, anderror()
helper methods. log_level
option (debug
,info
,warn
, orerror
) forUMbed()
which sets the
minimum level of log messages to show in the console (default:warn
)dependencies
option forUMbed()
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