refactor(injector): rename humanize into stringify

This commit is contained in:
vsavkin
2014-10-03 16:29:59 -04:00
parent b2199632c7
commit a85812f688
3 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ class IMPLEMENTS {
bool isPresent(obj) => obj != null;
bool isBlank(obj) => obj == null;
String humanize(obj) => obj.toString();
String stringify(obj) => obj.toString();
class StringWrapper {
static String fromCharCode(int code) {

View File

@ -19,7 +19,7 @@ export function isBlank(obj){
return obj == undefined || obj == null;
}
export function humanize(token) {
export function stringify(token) {
if (typeof token === 'string') {
return token;
}