Skip to content

Commit 189f855

Browse files
committed
Preparation for offering 3.0dev
1 parent d6c75f6 commit 189f855

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

GlowScriptOffline/glowscript_libraries/RScompiler.2.9.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GlowScriptOffline/glowscript_libraries/compiler.2.9.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GlowScriptOffline/glowscript_libraries/glow.2.9.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

GlowScriptOffline2.9.zip

211 Bytes
Binary file not shown.

docs/VPythonDocs/math.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ <h1 class="Heading-1"> <font color="#0000A0">Math Functions</font></h1>
4646
asin(x) &nbsp;&nbsp;&nbsp;# arc sine<br />
4747
acos(x) &nbsp;&nbsp;&nbsp;# arc cosine<br />
4848
atan(x) &nbsp;&nbsp;&nbsp;# arc tangent; -pi/2 to pi/2<br />
49-
atan2(y,x) # angle whose tangent is y/x; -pi to pi<br />
49+
atan2(y,x) # angle whose tangent is y/x; -pi to pi<br>
50+
sqrt(x)&nbsp;&nbsp;&nbsp;&nbsp;# square root<br />
5051
exp(x) &nbsp;&nbsp;&nbsp;&nbsp;# e to the x<br />
5152
log(x) &nbsp;&nbsp;&nbsp;&nbsp;# natural log, base e<br />
5253
# log(x)/log(10) gives log base 10<br />

lib/glow/vectors.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,9 @@
721721

722722
// Because RapydScript-NG compiles to the JavaScript string.replace function, which
723723
// replaces just one instance rather than multiple instances as in standard Python,
724-
// here we implement string.GSrep that acts like standard Python and we
725-
// replace all instances of ".replace" (in user code) with ".GSrep".
726-
String.prototype.GSrep = function(t,r, n) {
724+
// here we implement string.GSrep that acts like standard Python and we replace
725+
// all VPython instances of ".replace" (in user code) with ".__GSrep".
726+
String.prototype.__GSrep = function(t, r, n) {
727727
if (n === undefined) n = 1000000
728728
var s = this
729729
if (t === r) return s

package/RScompiler.2.9.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/compiler.2.9.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package/glow.2.9.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)