|
|
@ -1,6 +1,13 @@ |
|
|
|
'use strict' |
|
|
|
'use strict' |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Register and Manage plugin: |
|
|
|
* Register and Manage plugin: |
|
|
|
|
|
|
|
* Plugin registration is done in the settings tab, |
|
|
|
|
|
|
|
* using the following format: |
|
|
|
|
|
|
|
* { |
|
|
|
|
|
|
|
* "title": "<plugin name>", |
|
|
|
|
|
|
|
* "url": "<plugin url>" |
|
|
|
|
|
|
|
* } |
|
|
|
|
|
|
|
*
|
|
|
|
* Plugin receive 4 types of message: |
|
|
|
* Plugin receive 4 types of message: |
|
|
|
* - focus (when he get focus) |
|
|
|
* - focus (when he get focus) |
|
|
|
* - unfocus (when he loose focus - is hidden) |
|
|
|
* - unfocus (when he loose focus - is hidden) |
|
|
|