Commit Graph

10 Commits

Author SHA1 Message Date
Giovanni Bassi
47b934362a Remove global module definition from angular-mocks
Because it conficts with commonjs.

See http://wiki.commonjs.org/wiki/Modules/1.1:

> In a module, there must be a free variable "module", that is an Object.

Also see the existing `module` declaration on:
27e02d6674/node/node.d.ts (L61)

Workaround is to use `angular.mock.module` instead of `module`.

Closes #2072
2015-08-19 16:47:20 -03:00
Andrew Archibald
7fcdbd1a9b Made myService in bard tests minification safe 2015-07-16 10:14:38 -07:00
Andrew Archibald
e6b1d5f73b Formatted bardjs tests. 2015-07-16 09:49:34 -07:00
Andrew Archibald
6de3f1f79c Added more tests to bardjs-tests.ts 2015-07-15 22:19:10 -07:00
Andrew Archibald
e80350d668 Fixed some bardjs implicit 'any' types 2015-07-15 21:51:59 -07:00
Andrew Archibald
e28aef1c02 Fixed some issues with bard tests 2015-07-15 21:35:55 -07:00
Andrew Archibald
f91aabedc1 Started bardjs tests; Made some bardjs types more clear. 2015-07-15 17:08:47 -07:00
Andrew Archibald
9d20855e54 Made more specific comments in bardjs 2015-06-27 21:30:18 -07:00
Andrew Archibald
79daa85ac4 Add more specific types and comments to bardjs 2015-06-27 21:13:51 -07:00
Andrew Archibald
defc79f800 Add bardjs definitions 2015-06-27 11:47:09 -07:00