From 1e82e69c332c21457b9efcfa9999fd0e4a680b5d Mon Sep 17 00:00:00 2001 From: poweruser82 Date: Sun, 31 Mar 2013 11:15:11 -0700 Subject: [PATCH] Updated stopwords plugin for v1.3 --- Plugins.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins.md b/Plugins.md index ac79e32..639eb19 100644 --- a/Plugins.md +++ b/Plugins.md @@ -37,8 +37,8 @@ document.getElementById('post-'+post_id).status; ``` js // hide posts with stopwords $(document).ready(function() { - if(bungloo_instance.action == 'timeline') { - bungloo_instance.body.addEventListener( 'DOMNodeInserted', filter, false ); + if(bungloo.timeline) { + bungloo.timeline.body.addEventListener( 'DOMNodeInserted', filter, false ); } }); @@ -50,7 +50,7 @@ function filter(e) { ]; var element = e.target; var parent = element.parentNode; - if(parent != bungloo_instance.body) return; + if(parent != bungloo.timeline.body) return; var text = element.innerHTML; for(var i=0, count=stopwords.length; i -1) { @@ -117,7 +117,7 @@ ol li:hover .message a.name {

Add converted temperature

``` javascript -// A Bungloo plugin to automatically convert fahrenheit to celcius +// A Bungloo plugin to automatically convert Fahrenheit to Celsius // and vice versa. Change the unit in the line: var unit = "F"; $(document).ready(function() {