All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.0.6 - 2019-03-26
- Fix for
_inject()
potentially not being called in a browser globals environment running Turbolinks.
0.0.5 - 2018-10-29
- Fix for errors in Log
startTimer()
andstopTimer()
methods if browser doesn't supportconsole.time()
andconsole.timeEnd()
. - Fix for warnings in
_includeCSS()
and_includeJS()
caused by non-unique timer labels.
0.0.4 - 2018-10-29
- 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 respectiveconsole
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.
- Internal
Log
class containing previous logging methods (as mentioned above), plus newstartTimer()
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 - 2018-10-13
- 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 - 2018-06-14
- 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)
- 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
- This CHANGELOG file
- Initial README describing the project
- MIT license LICENSE file
- Initial version of src/UMbed.js adapted from Discovery Map International's DMIWebMapEmbed.js (by permission)