Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/api.js

Issue 5739415347396608: Expose extractHostFromURL to API (Closed)
Patch Set: Created April 22, 2014, 7:39 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | src/FilterEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/api.js
===================================================================
--- a/lib/api.js
+++ b/lib/api.js
@@ -162,6 +162,11 @@
forceUpdateCheck: function(eventName)
{
checkForUpdates(_triggerEvent.bind(null, eventName));
+ },
+
+ getHostFromUrl: function(url)
+ {
+ return extractHostFromURL(url);
}
};
})();
« no previous file with comments | « include/AdblockPlus/FilterEngine.h ('k') | src/FilterEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld