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
Thu, Dec 18, 12:54 AM (5 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
436568
Default Alt Text
phtize.js (358 B)

Event Timeline