Commit Graph

7 Commits

Author SHA1 Message Date
Harold
0eeca7cdf4 .g and .group arguments are optional in snapsvg
Per these docs:
http://snapsvg.io/docs/#Paper.g

The parameters to these functions are optional. This change stops the
TypeScript compiler complaining when you call them with no arguments.

Also, the return type of `g` and `group` should match (they are
aliases); and `any` has the benefit over `Object` here of allowing code
like `s.g().attr({id: "x"});`
2015-01-16 16:26:53 -07:00
lhk
03a144cd53 Rename snapsvgtests.ts to snapsvg-tests.ts 2014-11-26 22:03:06 +01:00
lhk
0f5ced7dda Update snapsvg.d.ts
I tested the snap code, apparently a set supports the attr method.
2014-11-26 21:59:57 +01:00
lhk
fd80bfdf4b Rename snapsvgtests.d.ts to snapsvgtests.ts 2014-11-26 21:35:31 +01:00
lhk
c778516c0d Update snapsvgtests.d.ts 2014-11-26 21:31:59 +01:00
Lars Klein
d92079400a renaming 2014-11-26 21:12:18 +01:00
Lars Klein
326e9e1d51 renaming 2014-11-26 21:11:44 +01:00