From 64bf2a71f2541f566e966b66ba676f93b1f7975d Mon Sep 17 00:00:00 2001 From: poweruser82 Date: Fri, 15 Feb 2013 09:27:57 -0800 Subject: [PATCH] typo fix + status property documentation --- Plugins.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Plugins.md b/Plugins.md index a143207..8885fef 100644 --- a/Plugins.md +++ b/Plugins.md @@ -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 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; +``` ***