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() {