js refactoring - treat all modules as singletons

This commit is contained in:
mrliptontea
2015-04-17 15:51:09 +02:00
parent aebbfbaf17
commit 654f4f9073
4 changed files with 50 additions and 35 deletions

View File

@@ -4,7 +4,7 @@ PurpleMine.MenuCollapse = (function()
{
"use strict";
var self; // Make it work for browsers without Function.prototype.bind
var self;
var translations = {
en: {
topMenuToggler : "Expand/collapse top menu",