From 62348073d508b35d8677a6afb8c4db8835e66d23 Mon Sep 17 00:00:00 2001 From: Nik Martin Date: Sun, 25 Nov 2018 21:50:48 +0000 Subject: [PATCH] delete editor tmp files --- .../js/waveformplaylist/observer/observer.js~ | 57 ------------------- .../waveformplaylist/templates/bottombar.tpl~ | 25 -------- 2 files changed, 82 deletions(-) delete mode 100644 airtime_mvc/public/js/waveformplaylist/observer/observer.js~ delete mode 100644 airtime_mvc/public/js/waveformplaylist/templates/bottombar.tpl~ diff --git a/airtime_mvc/public/js/waveformplaylist/observer/observer.js~ b/airtime_mvc/public/js/waveformplaylist/observer/observer.js~ deleted file mode 100644 index 2367a50f9..000000000 --- a/airtime_mvc/public/js/waveformplaylist/observer/observer.js~ +++ /dev/null @@ -1,57 +0,0 @@ -/* -Code taken from http://www.jspatterns.com/book/7/observer-game.html - -Pub/Sub -*/ - -var publisher = { - subscribers: { - any: [] - }, - on: function (type, fn, context) { - type = type || 'any'; - fn = typeof fn === "function" ? fn : context[fn]; - - if (typeof this.subscribers[type] === "undefined") { - this.subscribers[type] = []; - } - this.subscribers[type].push({fn: fn, context: context || this}); - }, - remove: function (type, fn, context) { - this.visitSubscribers('unsubscribe', type, fn, context); - }, - fire: function (type, publication) { - this.visitSubscribers('publish', type, publication); - }, - reset: function (type) { - - }, - visitSubscribers: function (action, type, arg, context) { - var pubtype = type || 'any', - subscribers = this.subscribers[pubtype], - i, - max = subscribers ? subscribers.length : 0; - - for (i = 0; i < max; i += 1) { - if (action === 'publish') { - subscribers[i].fn.call(subscribers[i].context, arg); - } - else { - if (subscribers[i].fn === arg && subscribers[i].context === context) { - subscribers.splice(i, 1); - } - } - } - } -}; - - -function makePublisher(o) { - var i; - for (i in publisher) { - if (publisher.hasOwnProperty(i) && typeof publisher[i] === "function") { - o[i] = publisher[i]; - } - } - o.subscribers = {any: []}; -} diff --git a/airtime_mvc/public/js/waveformplaylist/templates/bottombar.tpl~ b/airtime_mvc/public/js/waveformplaylist/templates/bottombar.tpl~ deleted file mode 100644 index bd2d2051c..000000000 --- a/airtime_mvc/public/js/waveformplaylist/templates/bottombar.tpl~ +++ /dev/null @@ -1,25 +0,0 @@ -
- - - - - -