Permalink
Browse files

Add getPluginURL API method

Signed-off-by: Sebastian Skuse <seb@skuse.net>
  • Loading branch information...
sebskuse committed Dec 14, 2011
1 parent 7785ba8 commit 82919449ed5c9debba6a35c6a18614670f5ac745
Showing with 5 additions and 1 deletion.
  1. +5 −1 AtKit.js
View
@@ -17,7 +17,7 @@
// Internal properties
AtKit.internal = AtKit.prototype = {
__version: 1.0, // Version.
- __build: 233, // Build.
+ __build: 239, // Build.
__baseURL: "http://c.atbar.org/", // Load AtKit assets from here.
__APIURL: "http://a.atbar.org/", // API endpoint
__pluginURL: "http://plugins.atbar.org/",
@@ -474,6 +474,10 @@
return AtKit.internal.__resourceURL;
}
+ API.getPluginURL = function(){
+ return AtKit.internal.__pluginURL;
+ }
+
// Set toolbar name
API.setName = function(name){
API.settings.name = name;

0 comments on commit 8291944

Please sign in to comment.