nl_tokens: Make sure namespace exists ( for keys with dots in name ) TODO key parts that start with numbers quietly fail . i . e . month . short . 1 = Jan
pl_tokens: function checkKeyNamespace ( key ) { var regDot = / \. / ; if ( regDot . test ( key ) ) { var fullname = '' ; var names = key . <mask> ( / \. / ) ; for ( var i = 0 , j = names . length ; i < j ; i ++ ) { var name = names [ i ] ; if ( i > 0 ) { fullname += '.' ; } fullname += name ; if ( eval ( 'typeof ' + fullname + ' == "undefined"' ) ) { eval ( fullname + '={};' ) ; } } } }