angular icon indicating copy to clipboard operation
angular copied to clipboard

AngularJS compiled with jsdom and provided as a CommonJS module. Intended for testing AngularJS code without depending on a browser.

Results 8 angular issues
Sort by recently updated
recently updated
newest added

the current version of jsdom replaces document.parentWindow with document.defaultView, this takes that into account and allows continued use

I was wondering out the CommonJS-ification of 1.4 might make it easier for angular-node. Obviously it replaces the work angular-node was doing to be importable. But for use outside of...

If I try this: ``` js var angular = require('angular'), inject = angular.injector(['ng']).invoke; require('angular-mocks'); describe('Auth Service', function() { var $httpBackend; describe('Login method', function() { inject(function(_$httpBackend_, $q) { $httpBackend = _$httpBackend_;...

JSDom has major issues compiling to the various platforms (e.g. See the bottom several paragraphs on their [npm page](https://github.com/tmpvar/jsdom#contextify) detailing how to ensure it builds). The root cause of this...

So [Gemnasium](http://gemnasium.com) has this thing where it can automatically upgrade your packages for you via pull request. I believe this is free to do for 2 packages. ![screenshot](http://content.screencast.com/users/chiller/folders/Default/media/1f88bf95-0f4e-4b65-ba7c-0b7d7885a8f1/gemnasium.png) _Theoretically_, then,...

This gets my tests passing under NodeJS v.0.11.14. Before: ``` /Volumes/samara/projects/boneskull/angular-types/node_modules/angular/node_modules/jsdom/lib/jsdom/level1/core.js:553 Array.prototype.splice.call(this._childNodes, refChildIndex, 0, newChild ^ TypeError: Cannot set property length of [object Object] which has only a getter at...

I checked out the 0.12 branch from the nodejs source repo and built it (it reports its version as 0.11.14-pre). Using the resulting node binary, `require('angular')` (using 1.2.23 of this...