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

@@ -20,7 +20,7 @@
], ],
"require": { "require": {
"php": ">=5.5.9", "php": ">=5.5.9",
"laravel/framework": "5.2.14", "laravel/framework": "~5.2.19",
"alt-three/bus": "^1.0", "alt-three/bus": "^1.0",
"alt-three/emoji": "^3.0", "alt-three/emoji": "^3.0",
"alt-three/validator": "^1.4", "alt-three/validator": "^1.4",

14
composer.lock generated
View File

@@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "eff2274253ab51116e07919bed3faeea", "hash": "ba38e29b36a482c9350a62373ef12a5b",
"content-hash": "bedffab57d15b9f3c3315439a2e957cb", "content-hash": "a28b0a82f75e6f39655f7bb1def163e4",
"packages": [ "packages": [
{ {
"name": "alt-three/bus", "name": "alt-three/bus",
@@ -1741,16 +1741,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v5.2.14", "version": "v5.2.19",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "ce63ba53d4891bdbb5e1aaeced1b5dd34edbc86f" "reference": "0eb6a77aa12b305300a2483778edcf4c7086cb78"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/ce63ba53d4891bdbb5e1aaeced1b5dd34edbc86f", "url": "https://api.github.com/repos/laravel/framework/zipball/0eb6a77aa12b305300a2483778edcf4c7086cb78",
"reference": "ce63ba53d4891bdbb5e1aaeced1b5dd34edbc86f", "reference": "0eb6a77aa12b305300a2483778edcf4c7086cb78",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1865,7 +1865,7 @@
"framework", "framework",
"laravel" "laravel"
], ],
"time": "2016-02-03 14:19:04" "time": "2016-02-17 19:33:49"
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
{ {
"dist/css/all.css": "dist/css/all-0a0328c0cc.css", "dist/css/all.css": "dist/css/all-d526b8c3c6.css",
"dist/js/all.js": "dist/js/all-e705b7b737.js" "dist/js/all.js": "dist/js/all-9c19e78dd3.js"
} }

View File

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