summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/blink/element.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/blink/element.rb b/lib/blink/element.rb
index 492eb3905..5397548d1 100644
--- a/lib/blink/element.rb
+++ b/lib/blink/element.rb
@@ -30,6 +30,9 @@ class Blink::Element
#---------------------------------------------------------------
# for testing whether we should actually do anything
def noop
+ unless defined? @noop
+ @noop = false
+ end
return @noop || Blink[:noop] || false
end
#---------------------------------------------------------------