aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
AgeCommit message (Collapse)Author
2010-10-14New Angular Scenario runner and DSL system with redesigned HTML UI.Elliott Sprehn
Uses the Jasmine syntax for tests, ex: describe('widgets', function() { it('should verify that basic widgets work', function(){ navigateTo('widgets.html'); input('text.basic').enter('Carlos'); expect(binding('text.basic')).toEqual('Carlos'); input('text.basic').enter('Carlos Santana'); expect(binding('text.basic')).not().toEqual('Carlos Boozer'); input('text.password').enter('secret'); expect(binding('text.password')).toEqual('secret'); expect(binding('text.hidden')).toEqual('hiddenValue'); expect(binding('gender')).toEqual('male'); input('gender').select('female'); expect(binding('gender')).toEqual('female'); }); }); Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
2010-10-13fix Rakefile - add Injector.js to :compileIgor Minar
2010-10-13updating file list for the :package rake taskIgor Minar
- removing angular-scenario.css (it's already inlined in the js) - adding angular-mocks.js
2010-10-12Introduced injector and $new to scope, and injection into link methods and ↵Misko Hevery
controllers - added angular.injector(scope, services, instanceCache) which returns inject - inject method can return, instance, or call function which have $inject property - initialize services with $creation=[eager|eager-publish] this means that only some of the services are now globally accessible - upgraded $become on scope to use injector hence respect the $inject property for injection - $become should not be run multiple times and will most likely be removed in future version - added $new on scope to create a child scope - $inject is respected on constructor function - simplified scopes so that they no longer have separate __proto__ for parent, api, behavior and instance this should speed up execution since scope will now create one __proto__ chain per scope (not three). BACKWARD COMPATIBILITY WARNING: - services now need to have $inject instead of inject property for proper injection this breaks backward compatibility - not all services are now published into root scope (only: $location, $cookie, $window) - if you have widget/directive which uses services on scope (such as this.$xhr), you will now have to inject that service in (as it is not published on the root scope anymore)
2010-10-12adding :package task to the rake fileIgor Minar
2010-09-23cleanup underscore.js form rakefileMisko Hevery
2010-09-22Refactored the Browser:Misko Hevery
- change from using prototype to inner functions to help with better compression - removed watchers (url/cookie) and introduced a poller concept - moved the checking of URL and cookie into services which register with poolers Benefits: - Smaller minified file - can call $browser.poll() from tests to simulate polling - single place where setTimeout needs to be tested - More testable $browser
2010-08-14add ftp script to auto deploy to angularjs.orgMisko Hevery
2010-08-11removed google charts and few other filters, switched to simple optimization ↵Misko Hevery
for compiler
2010-08-05Added new files to Rakefile and consistently used .addFutureAndres Ornelas
2010-07-08fixed IE testsMisko Hevery
2010-05-28change order of initializationMisko Hevery
2010-05-27extracted switchRouteMatcher and added necessary libraries to angular-scenarioAndres Ornelas
2010-05-25added rake task to create a single file for scenario runnerMisko Hevery
2010-04-07clean up, fixes for appMisko Hevery
2010-03-29tests broken, but bootstrap worksMisko Hevery
2010-03-24mergeMisko Hevery
2010-03-24work in progressMisko Hevery
2010-03-24Fix rakefile to work with older versions of rakeShyam Seshadri
2010-03-16twitter using resourcesAdam Abrons
2010-01-28added formattersMisko Hevery
2010-01-26add default rake task (compile and test), send database name to loginAdam Abrons
2010-01-18checkpoint for integration with angularMisko Hevery
2010-01-10basic calculator works with minified.js, lots of references still brokenMisko Hevery
2010-01-09removed nglr namespaceMisko Hevery
2010-01-09cleanupMisko Hevery
2010-01-05angular.jsAdam Abrons