Browse Source

rename __duk__ to Duktape in examples

pull/1/head
Sami Vaarala 11 years ago
parent
commit
c9ce15cf5b
  1. 6
      examples/cmdline/duk_cmdline.c
  2. 2
      examples/coffee/hello.coffee

6
examples/cmdline/duk_cmdline.c

@ -22,9 +22,9 @@
"print(" \ "print(" \
"'((o) Duktape" variant "'" \ "'((o) Duktape" variant "'" \
", " \ ", " \
"Math.floor(__duk__.version / 10000) + '.' + " \ "Math.floor(Duktape.version / 10000) + '.' + " \
"Math.floor(__duk__.version / 100) % 100 + '.' + " \ "Math.floor(Duktape.version / 100) % 100 + '.' + " \
"__duk__.version % 100" \ "Duktape.version % 100" \
");" ");"
#include <stdio.h> #include <stdio.h>

2
examples/coffee/hello.coffee

@ -1,2 +1,2 @@
print 'Hello world!' print 'Hello world!'
print 'version: ' + __duk__.version print 'version: ' + Duktape.version

Loading…
Cancel
Save