This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a constructor that is used to setup inheritance without | |
// invoking the base's constructor. It does nothing, so it doesn't | |
// create properties on the prototype like our previous example did | |
function surrogateCtor() {} | |
function extend(base, sub) { | |
// Copy the prototype from the base to setup inheritance | |
surrogateCtor.prototype = base.prototype; | |
// Tricky huh? | |
sub.prototype = new surrogateCtor(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var o, hl_obj, pos = [0, 0]; | |
if (e[JXG.touchProperty]) { | |
pos = GUI.board.getMousePosition(e, 0); | |
} else { | |
pos = GUI.board.getMousePosition(e); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- for (i = i; i < len-1; i++) { | |
- if (!el.vertices[i].isReal) { | |
+ | |
+ for (j = i; j < len - 1; j++) { | |
+ if (!el.vertices[j].isReal) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Text.js b/src/Text.js | |
index 9fafcd5..50b9fb9 100644 | |
--- a/src/Text.js | |
+++ b/src/Text.js | |
@@ -42,7 +42,7 @@ JXG.Text = function (board, content, coords, attributes) { | |
var i; | |
- this.content = content; | |
+ this.content = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import Image | |
import ImageDraw | |
import random | |
import math | |
import pyglet | |
import pyglet.gl as gl | |
import pyglet.window.key as key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IAS isr | |
IAQ 1 | |
SET A, 0 | |
HWI 1 | |
SET A, 3 | |
SET B, 0x7 | |
HWI 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 1.5.txt 2012-04-27 14:18:27.253403562 +0200 | |
+++ 1.7.txt 2012-04-27 14:18:23.201539323 +0200 | |
@@ -1,6 +1,6 @@ | |
DCPU-16 Specification | |
Copyright 1985 Mojang | |
-Version 1.5 | |
+Version 1.7 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 95%] Assembling openf.dasm16 with DCPU-Toolchain... | |
make[2]: *** [kernel/src/openf.o] Error 1 | |
make[1]: *** [kernel/CMakeFiles/kernel.dir/all] Error 2 | |
make: *** [all] Error 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- dcpu16.txt 2012-04-26 13:57:37.477152465 +0200 | |
+++ dcpu16_1_5.txt 2012-04-26 13:57:12.209965926 +0200 | |
@@ -1,6 +1,6 @@ | |
DCPU-16 Specification | |
Copyright 1985 Mojang | |
-Version 1.4 | |
+Version 1.5 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dcpu b/dcpu | |
index 56bcc78..dd8cbf7 100644 | |
--- a/dcpu | |
+++ b/dcpu | |
@@ -1,6 +1,6 @@ | |
DCPU-16 Specification | |
Copyright 1985 Mojang | |
-Version 1.3 | |
+Version 1.4 | |