typo fix + status property documentation
parent
ce831934e7
commit
64bf2a71f2
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,11 @@ An alternative is to make the `~/Library` folder visible. To do this, open the T
|
||||||
To ease plugins development you can enable WebKit inspector for Tent windows using executing this command in a Terminal window: `defaults write nu.jabs.apps.bungloo WebKitDeveloperExtras -bool YES`.
|
To ease plugins development you can enable WebKit inspector for Tent windows using executing this command in a Terminal window: `defaults write nu.jabs.apps.bungloo WebKitDeveloperExtras -bool YES`.
|
||||||
To open the inspector, right click on the view and choose `Inspect Element` from the contextual menu.
|
To open the inspector, right click on the view and choose `Inspect Element` from the contextual menu.
|
||||||
|
|
||||||
You can use the embeded jQuery too.
|
You can use the embedded jQuery too.
|
||||||
|
Plugins can get the JSON representation of a post through the `status` property of its `li` tag.
|
||||||
|
``` js
|
||||||
|
document.getElementById('post-'+post_id).status;
|
||||||
|
```
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
|
|
Reference in a new issue