From 6b129268876b821c97d55fefe900c9edb430fd1e Mon Sep 17 00:00:00 2001 From: David Cormier Date: Thu, 6 Feb 2014 20:59:50 -0500 Subject: [PATCH] Move plugin to it's own directive --- directives/plugin.html | 17 +++++++++++++++++ index.html | 9 +-------- js/glowingbear.js | 14 ++++++++++++++ 3 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 directives/plugin.html diff --git a/directives/plugin.html b/directives/plugin.html new file mode 100644 index 0000000..2b6fe6e --- /dev/null +++ b/directives/plugin.html @@ -0,0 +1,17 @@ +
+ +
+
+ +
+ +
diff --git a/index.html b/index.html index 1ef0a09..2006230 100644 --- a/index.html +++ b/index.html @@ -291,14 +291,7 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
-
- -
- -
-
- -
+
allo
diff --git a/js/glowingbear.js b/js/glowingbear.js index 20ac168..8ad8845 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -762,6 +762,20 @@ weechat.config(['$routeProvider', } ]); + +weechat.directive('plugin', function() { + + return { + templateUrl: 'directives/plugin.html', + + scope: { + data: '=data', + }, + } + +}); + + weechat.directive('inputBar', function() { return {