Utils
General utility class
Static Member Summary
Static Public Members | ||
public static |
gets the current url without params |
|
public static |
keyEqValFormat(obj: Object, seperator: String): String: * formats an object as key="value" |
|
public static |
curried logger |
|
public static |
creates a new tab with url and focuses on it |
|
public static |
replaceNewlines(string: String): Function: * replaces new lines (\n and \r) with spaces |
|
public static |
tagWrapper(tagName: String, attribute: Object, text: String): Function(Function(Function(tagName, attributes, text))): * curried tag wrapper |
Static Public Members
public static keyEqValFormat(obj: Object, seperator: String): String: * source
formats an object as key="value"
public static log(args: [Object], data: Object): console.log([args], data): * source
curried logger
Return:
console.log([args], data) | console.log with supplied arguments |