summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/app.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/js/app.js b/js/app.js
index d715aa06f..dd2554653 100644
--- a/js/app.js
+++ b/js/app.js
@@ -71,6 +71,29 @@
/*
+ # Inject notification into angular to make testing easier
+ */
+
+
+ angular.module('OC').factory('Notification', function() {
+ return OC.Notification;
+ });
+
+ /*
+ # ownCloud
+ #
+ # @author Bernhard Posselt
+ # Copyright (c) 2012 - Bernhard Posselt <nukeawhale@gmail.com>
+ #
+ # This file is licensed under the Affero General Public License version 3 or
+ # later.
+ #
+ # See the COPYING-README file
+ #
+ */
+
+
+ /*
# Used for properly distributing received model data from the server
*/