Skip to content

Instantly share code, notes, and snippets.

View dayvson's full-sized avatar

Maxwell Dayvson da Silva dayvson

View GitHub Profile
@dayvson
dayvson / EventBus.py
Created March 21, 2012 14:19
EventBus
class EventBus(object):
def __init__(self):
self.subscriptions = {}
def subscribe(self, subject, func):
if not subject in self.subscriptions:
self.subscriptions[subject] = []
self.subscriptions[subject].append(func)
def publish(self, subject, data, *args, **kw):
diff --git a/src/base/container_plugin.js b/src/base/container_plugin.js
index 2128300..46810ca 100644
--- a/src/base/container_plugin.js
+++ b/src/base/container_plugin.js
@@ -10,8 +10,6 @@ export default class ContainerPlugin extends BaseObject {
this.bindEvents()
}
- get type() { return 'container' }
-
COUNTRY REFUSALS
AFGHANISTAN 68.42
ALBANIA 41.45
ALGERIA 44.22
ANDORRA 0
ANGOLA 58.26
ANTIGUA AND BARBUDA 15.25
ARGENTINA 2.07
ARMENIA 51.65
AUSTRALIA 0
We couldn’t find that file to show.