diff --git a/browser/nools.js b/browser/nools.js
index 110052e..d608f1f 100644
--- a/browser/nools.js
+++ b/browser/nools.js
@@ -20,4 +20,4 @@
} else {
this.nools = nools;
}
-}).call(window);
+}).call(typeof window !== "undefined" ? window : this);
diff --git a/docs/History.html b/docs/History.html
index a791717..3c3d693 100644
--- a/docs/History.html
+++ b/docs/History.html
@@ -178,6 +178,21 @@
+
0.4.0
+
+- Fix for issue #122 referencing defined class within another defined class
+- Also fixes accessing scoped functions within a defined class.
+
+
+- Fix for issue #119 window was removed from the nools.js file now it is called in the current scope of
this
.
+- Allow session.halt even for
match()
#143 - @raymondfeng
+- Now if you call
halt()
even if you did not call matchUntilHalt()
+
+
+- Now you can use a function as a constraint (Only applies to rules defined programatically) #142 - @raymondfeng
+- You can now define types using scope #142 - @raymondfeng
+- Fix for issue, is the dsl you do not have to escape
\
characters #123
+
0.3.0
- Added new
===
and !==
operators #110
diff --git a/docs/examples/browser/conways_2d.html b/docs/examples/browser/conways_2d.html
index 9acc0e5..fb6431f 100644
--- a/docs/examples/browser/conways_2d.html
+++ b/docs/examples/browser/conways_2d.html
@@ -36,7 +36,6 @@ Conways Game Of Life 2D
-
-