MCPcopy
hub / github.com/paperjs/paper.js / executeCode

Function executeCode

test/tests/PaperScript.js:15–21  ·  view source on GitHub ↗
(code, expected)

Source from the content-addressed store, hash-verified

13QUnit.module('PaperScript');
14
15function executeCode(code, expected) {
16 try {
17 equals(PaperScript.execute(code, paper), expected, code);
18 } catch (err) {
19 ok(false, err + '');
20 }
21}
22
23test('PaperScript with prefix decrement operators', function() {
24 executeCode(

Callers 1

PaperScript.jsFile · 0.85

Calls 1

equalsFunction · 0.85

Tested by

no test coverage detected