Page MenuHomestyx hydra

phtize.js
No OneTemporary

phtize.js

/**
* @provides phabricator-phtize
* @requires javelin-util
* @javelin-installs JX.phtize
* @javelin
*/
JX.phtize = function(config) {
return function(text) {
if (!(text in config)) {
if (__DEV__) {
JX.$E('pht("' + text + '"): translation was not configured.');
}
return text;
}
return config[text];
};
};

File Metadata

Mime Type
text/plain
Expires
Mon, Jul 28, 3:12 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
187029
Default Alt Text
phtize.js (358 B)

Event Timeline