Merge branch '2.1'

This commit is contained in:
Graham Campbell
2016-02-17 20:08:56 +00:00
6 changed files with 17 additions and 14 deletions

View File

@@ -78,6 +78,9 @@ $(function() {
window.Cachet.Notifier = function () {
this.notify = function (message, type, options) {
if (_.isPlainObject(message)) {
message = message.detail;
}
type = (typeof type === 'undefined' || type === 'error') ? 'error' : type;
var defaultOptions = {