plugin.getScriptFile

The 'getScriptFile' function retrieves full path to the current script file (*.js).
getScriptFile插件获取当前插件的路径

  • Prototype: plugin.getScriptFile();
  • Parameters: None.
  • Return Value: file path to the current script file (*.js).
  • Example:
    alert(plugin.getScriptFile());