From d40b3f2b1f7260185c98ffacbd0828eedd41a142 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Wed, 3 Feb 2016 21:00:23 +0000 Subject: [PATCH 1/6] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 349b6f3..786c47d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Invertase +Copyright (c) 2015-2016 Invertase Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in From 71f2339f750aebede5ec1d092d99200617a70f03 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Mon, 7 Mar 2016 11:40:10 +0000 Subject: [PATCH 2/6] Fix demo link --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68c9592..5ec092b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Angular Toasty #### Demo -[Check it out!](https://invertase.github.io/angular-toasty/example/) +[Check it out!](http://teamfa.com/angular-toasty/example/) #### Current Features * 3 Themes (Default, Material Design & Bootstrap 3) @@ -175,4 +175,4 @@ $rootScope.$on('toasty-cleared', function(event, toast) { console.log(toast) }); #### Contributing -Please see the [contributing guidelines](https://github.com/invertase/angular-toasty/blob/master/CONTRIBUTING.md). +Please see the [contributing guidelines](https://github.com/teamfa/angular-toasty/blob/master/CONTRIBUTING.md). From 28bf4abac4f40c74cd74894a066d0b74b48ef7a7 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Mon, 7 Mar 2016 11:42:06 +0000 Subject: [PATCH 3/6] Fix dead demo links --- example/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example/index.html b/example/index.html index 3cce204..0f5ec5c 100644 --- a/example/index.html +++ b/example/index.html @@ -53,9 +53,9 @@
@@ -115,8 +115,8 @@

- - + + From 4491c544f8f80e555f005c725060db8ac45cb9f6 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Mon, 7 Mar 2016 11:43:25 +0000 Subject: [PATCH 4/6] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 786c47d..4f315c8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2016 Invertase +Copyright (c) 2015-2016 TeamFA Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in From 76753839a67c4f8c53810bcbbbad03b5b9d41d27 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Mon, 7 Mar 2016 13:33:36 +0000 Subject: [PATCH 5/6] Update bower.json --- bower.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 164b968..31e868e 100644 --- a/bower.json +++ b/bower.json @@ -18,10 +18,10 @@ "dependencies": { "angular": "~1.4.3" }, - "homepage": "https://github.com/invertase/angular-toasty", + "homepage": "https://github.com/teamfa/angular-toasty", "repository": { "type": "git", - "url": "git://github.com/invertase/angular-toasty.git" + "url": "git://github.com/teamfa/angular-toasty.git" }, "license": "MIT" } From c2b055b5d323ef86c3834a7855e2a7db3f02d59b Mon Sep 17 00:00:00 2001 From: Krazymins Date: Thu, 10 Mar 2016 10:59:34 +0100 Subject: [PATCH 6/6] added timeout to fix toasty bug display --- src/js/directive.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/directive.js b/src/js/directive.js index e1207bf..eaaab5d 100644 --- a/src/js/directive.js +++ b/src/js/directive.js @@ -129,8 +129,10 @@ angular.module('angular-toasty').directive('toasty', ['toasty', '$timeout', '$sc onClick: options.onClick && angular.isFunction(options.onClick) ? options.onClick : null }; - // Push up a new toast item - scope.toasty.push(toast); + $timeout(function () { + // Push up a new toast item + scope.toasty.push(toast); + }); // If we have a onAdd function, call it here if (options.onAdd && angular.isFunction(options.onAdd))