aboutsummaryrefslogtreecommitdiffstats
path: root/test/markupSpec.js
AgeCommit message (Collapse)Author
2012-03-08chore(directives,widgets): reorg the code under directive/ dirIgor Minar
2012-01-25refactor(directives): connect new compilerMisko Hevery
- turn everything into a directive
2012-01-25refactor($interpolate): improve interpolation service add documentationMisko Hevery
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2012-01-03refactor: remove old JSTD assertionsVojta Jina
So that we can run the tests even without JSTD :-D
2011-11-14refactor(injector): $injector is no longer a function.Misko Hevery
- $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn);
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14refactor(compiler) turn compiler into a serviceMisko Hevery
BREAK - remove angular.compile() since the compile method is now a service and needs to be injected
2011-11-14refactor(injector): turn scope into a serviceMisko Hevery
- turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method
2011-10-20fix(compiler): revert 8611ebe6 - calling \$digest after linkingIgor Minar
Change introduced by me in 8611ebe6 results in considerable inefficiencies when the compiler and linker is used from within a widget, in which case, we call $digest unnecessary since it will be called by the $apply which called the directive/widget in the first place. There are only two places when the extra $digest call can be useful - when manually bootstrapping the app or in tests. However even in tests this behavior can result in unwanted results (especially when ng:controller is involved). So it is better to leave it for the developer to call $digest when it is really needed.
2011-10-12fix(compiler): linking function should call $digestIgor Minar
The linked scope should be $digest-ed but only if a $digest isn't already running on it.
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-09-16fix(specs): various fixes to get IE8+jquery unit tests greenIgor Minar
2011-09-08style: fix some missing semi-colons and spaces, typosVojta Jina
2011-08-25fix(markup): Make special attrs such as ng:href work even without bindingDi Peng
- special attrs such as ng:href, ng:check did not work as intended when their values do not contain bindings. And this commit is to fix that Closes #534
2011-08-12refactor(scope): remove $flush/$observe ng:eval/ng:eval-orderMisko Hevery
2011-08-02feat(scope): new and improved scope implementationMisko Hevery
- Speed improvements (about 4x on flush phase) - Memory improvements (uses no function closures) - Break $eval into $apply, $dispatch, $flush - Introduced $watch and $observe Breaks angular.equals() use === instead of == Breaks angular.scope() does not take parent as first argument Breaks scope.$watch() takes scope as first argument Breaks scope.$set(), scope.$get are removed Breaks scope.$config is removed Breaks $route.onChange callback has not "this" bounded
2011-07-26style(warnings): prevent the browser from making bogus GET requests during testsMisko Hevery
2011-07-18feat(strict mode): adding strict mode flag to all js filesIgor Minar
the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done
2011-06-16Added ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected to ↵Di Peng
markup.js. Also added coresponding descriptions live examples and tests for each directive to be displayed on the website. Closes #351
2011-03-01linking function should return bound scopeIgor Minar
angular.compile()() returns {scope:scope, view:view}, this isn't useful at all and only makes tests more verbose. Instead, this change makes the linking function return scope directly and if anyone needs the linked dom there are two ways to do it documented in angular.compile. other changes: - moved angular.compile docs to the compiler so that they are closer to the compiler - fixed some typos and updated angular.compile docs with the new return value
2011-02-19fix test which fails on CI build, because the image has sizeMisko Hevery
2011-02-16Change API angular.compile(element)([scope], [element/true])Misko Hevery
2011-02-16remove $init on scope from applying compilation templateMisko Hevery
Closes #40
2011-02-04smarter normalization of value on option, and htmlParser fixesMisko Hevery
2011-02-03fixed population of value attribute on optionMisko Hevery
The value attribute must be populated manually, since different browsers default to different value of option when not explicitly defined.
2011-01-24fixed example rendering, add tests for it.Misko Hevery
2010-12-02Closes #170. Corrected the behavior of select when options are ng:repeatedMisko Hevery
- Delete $postEval method, as it was a hack
2010-09-21fixed test for ng:src which fails on IE, since IE treats undefined src as ↵Misko Hevery
url to the current page.
2010-09-20Add ng:src and ng:href markup.Alkis Evlogimenos
2010-07-02change all attributes from ng- to ng: prefixMisko Hevery
2010-04-22fix CI BuildMisko Hevery
2010-04-21ie6 and ie8 passMisko Hevery
2010-04-21ie6 now passesMisko Hevery
2010-04-21more if tests passMisko Hevery
2010-04-09various bug fixesMisko Hevery
2010-03-31all tests green, some dissabledMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery
2010-03-25major refactoring of scopeMisko Hevery
2010-03-25input select-one now worksMisko Hevery
2010-03-23markup now wroks, some refactoringsMisko Hevery