Schahriar SaffarShargh
0b51dd67c5
Ensure passed canvas abides by render options
...
Engine.create takes a canvas element or creates a new canvas using the
given options. While the properties width and height in options do apply
to the created canvas, they do not apply to the passed canvas. These set
options are under render.canvas, render.options.width and
render.options.height. This issue was fixed by setting the canvas width
and height only when a canvas element is directly provided.
2015-11-09 02:21:05 -08:00
liabru
e698b6b5be
update node version for travis
2015-09-17 18:55:33 +01:00
liabru
f2635ab587
updated edge build
2015-09-17 18:47:56 +01:00
liabru
eccf0a7237
fix tests
2015-08-26 00:42:35 +01:00
liabru
84a22ba3d8
fix concat dependency
2015-08-26 00:37:33 +01:00
liabru
9d5c27afb8
fix mobile demo, remove dev.html, fix debug info rendering
2015-08-26 00:30:25 +01:00
liabru
1e756d319e
added source link to demo
2015-08-25 23:52:25 +01:00
liabru
71df1b9427
tweak jshint
2015-08-25 23:33:21 +01:00
liabru
31fb7486e0
updated browser test refs
2015-08-25 23:33:04 +01:00
liabru
fb76605190
refactor Demo.init
2015-08-25 23:31:10 +01:00
liabru
c0b24daeef
refactor Demo.create
2015-08-25 20:10:13 +01:00
liabru
0bff037f85
removed unused vars from examples
2015-08-25 19:44:59 +01:00
liabru
b7220126ad
move Demo.* to Example.*
2015-08-25 19:12:52 +01:00
liabru
43fd2e3cb6
updated edge build
2015-08-17 23:50:03 +01:00
liabru
9d0e82b7ff
change main to edge build
2015-08-17 23:32:45 +01:00
liabru
9ba8a2afd4
move license in build
2015-08-17 23:30:25 +01:00
liabru
de165293c3
fix standalone option
2015-08-17 21:02:41 +01:00
liabru
6e0e7e47f8
Merge branch 'node-tests' into browserify
...
Conflicts:
.jshintrc
2015-08-17 20:55:13 +01:00
liabru
b0f72ab1a3
fix jshint
2015-08-17 01:01:08 +01:00
liabru
b1e6a45ca1
updated node test refs
2015-08-17 00:50:47 +01:00
liabru
71c1ae8786
added node demo tests
2015-08-17 00:50:23 +01:00
liabru
06eea3ec3a
fix Matter.Demo for node
2015-08-17 00:48:52 +01:00
liabru
75af920f1d
change browser tests to use JSON.stringify
2015-08-17 00:47:26 +01:00
liabru
2de1161db2
fix Matter.Demo for node
2015-08-15 20:39:13 +01:00
liabru
ad55b85912
fix Matter.Runner for node
2015-08-15 20:38:40 +01:00
liabru
99c3bb3273
move require statements below module export
2015-08-13 23:03:08 +01:00
liabru
9e3438f359
Merge branch 'runner-improve' into browserify
2015-08-13 21:07:58 +01:00
liabru
a80fbc133c
updated edge build
2015-08-13 00:38:20 +01:00
liabru
ce474dad45
tweaks to Matter.Runner
2015-08-13 00:36:31 +01:00
liabru
1810f9325b
updated browser test refs
2015-08-13 00:18:40 +01:00
liabru
5e6b22b0c8
fix demo for tests
2015-08-13 00:12:36 +01:00
liabru
a48d219dfe
Merge branch 'master' into runner-improve
2015-08-05 00:08:03 +01:00
liabru
c1f71b993c
use different port for test server, fix test precision limiter
2015-08-05 00:02:52 +01:00
liabru
352bfd62b3
fix runner for tests, limit precision of refs
2015-08-04 21:20:20 +01:00
liabru
a6b82c17e0
Merge branch 'browser-tests'
2015-08-04 20:31:00 +01:00
liabru
ad403aeeec
move /tests to /test
2015-08-04 20:25:20 +01:00
liabru
d40591033d
fix grunt for travis
2015-08-04 19:55:50 +01:00
liabru
f55d806b72
fix grunt for travis
2015-08-04 19:53:15 +01:00
liabru
3ce6c3a017
fix travis
2015-08-04 19:51:28 +01:00
liabru
ae32d63b12
updated browser test refs
2015-08-04 00:53:31 +01:00
liabru
08c5648bb9
added testDemo to grunt test
2015-08-04 00:37:40 +01:00
liabru
a88b3badf5
implemented automated browser tests
2015-08-03 21:00:54 +01:00
liabru
4ecad0f175
updated matter-tools
2015-07-29 20:28:28 +01:00
liabru
a1d4748e1d
changed demo to use Matter.Runner and Matter.Render events
2015-07-29 20:27:45 +01:00
liabru
aa48322329
added beforeRender and afterRender events to Matter.Render
2015-07-29 20:26:35 +01:00
liabru
dcdc43d475
moved engine.timing properties, tick events and Engine.render into Matter.Runner module
2015-07-29 20:25:46 +01:00
liabru
86fcfcd223
fix issue in Render.inspector on Chrome
2015-07-29 20:17:47 +01:00
liabru
5c69f2efd1
added Runner.create and Runner.tick
2015-07-07 23:02:17 +01:00
liabru
1b7e27d8a4
added options to Metrics.create
2015-07-07 21:07:48 +01:00
liabru
2ab20b0656
updated edge build
2015-07-05 15:57:31 +01:00