From 32d9ffc7aead1dd8946aec63dbce721a739f4a65 Mon Sep 17 00:00:00 2001 From: David Cormier Date: Tue, 29 Apr 2014 23:10:32 -0400 Subject: [PATCH] Create bufferline directive --- directives/bufferline.html | 10 ++++++++++ index.html | 13 +------------ js/glowingbear.js | 16 ++++++++++++++++ 3 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 directives/bufferline.html diff --git a/directives/bufferline.html b/directives/bufferline.html new file mode 100644 index 0000000..e7c88a5 --- /dev/null +++ b/directives/bufferline.html @@ -0,0 +1,10 @@ + + + :: + + + + +
+ + diff --git a/index.html b/index.html index c0633b0..ce25c09 100644 --- a/index.html +++ b/index.html @@ -241,18 +241,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel - - - - :: - - - - -
- - - +
diff --git a/js/glowingbear.js b/js/glowingbear.js index 3bba9b2..fa30c7f 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -1234,6 +1234,22 @@ weechat.directive('plugin', function() { }); +weechat.directive('bufferLine', function() { + return { + templateUrl: 'directives/bufferline.html', + restrict: 'A', + scope: { + bufferline: '=', + previousbufferline: '=' + }, + + controller: function($scope) { + console.log($scope); + } + + } +}); + weechat.directive('inputBar', function() { return {