null+****@clear*****
null+****@clear*****
2012年 7月 25日 (水) 17:00:47 JST
Yoji SHIDARA 2012-07-25 17:00:47 +0900 (Wed, 25 Jul 2012) New Revision: 404262dccefffab86b44e04e5c143b6b3df426fd https://github.com/groonga/gcs/commit/404262dccefffab86b44e04e5c143b6b3df426fd Log: Remove unnecessary workaround xmlbuilder-js 0.3.2 works without this. Modified files: lib/xmlbuilder.js Modified: lib/xmlbuilder.js (+0 -8) =================================================================== --- lib/xmlbuilder.js 2012-07-25 16:58:47 +0900 (49ea3cd) +++ lib/xmlbuilder.js 2012-07-25 17:00:47 +0900 (589febe) @@ -12,11 +12,3 @@ module.exports.XMLFragment.prototype.addFragment = function(fragments) { } return this; }; - -// This is a workaround for the problem that text() does not work when empty string is given. -// https://github.com/oozcitak/xmlbuilder-js/pull/19 -var originalToString = module.exports.XMLFragment.prototype.toString; -module.exports.XMLFragment.prototype.toString = function() { - var string = originalToString.apply(this, arguments); - return string.replace(/<\/>/g, ''); -}; -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...下载