aboutsummaryrefslogtreecommitdiffstats
path: root/src/Compiler.js
AgeCommit message (Collapse)Author
2011-06-06another batch of doc fixes from kenIgor Minar
2011-03-26remove _null and _undefinedIgor Minar
they have no significant effect on minified and gziped size. in fact they make things worse. file | before | after removal ---------------------------------------- concat | 325415 | 325297 min | 62070 | 62161 min + gzip | 25187 | 25176 The bottom line is that we are getting 0.05% decrease in size after gzip without all of the hassle of using underscores everywhere.
2011-03-01additional fixes for the angular.compile docsIgor Minar
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-22add class on any namespace elmentsMisko Hevery
2011-02-16Changed the angular.compile(element)(scope[, cloneAttachNode])Misko Hevery
2011-02-16rewrite of JQuery lite implementation, which now better supports selected setsMisko 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-16remove dom manipulation API from compilerMisko Hevery
2011-02-16Add public API to retrieve scope from element.Misko Hevery
2011-02-01changed the documentation @example to use <doc:example>Misko Hevery
2011-01-24fixed example rendering, add tests for it.Misko Hevery
2011-01-24fix for infinite loop in retrieveScope with jQuery + specsIgor Minar
- retrieveScope run into infinite loop if called on DOM tree that doesn't contain scope reference (happens only with jQuery) - added missing specs for retrieveScope function
2011-01-19fix argument variables in compilerIgor Minar
2011-01-10Rename angular.foreach to angular.forEach to make the api consistent.Igor Minar
camelcase is used for other angular functions and forEach is also used by EcmaScript standard. - rename the internal as well as the external function name - tweak the implementation of the function so that it doesn't clober it self when we extend the angular object with an object that has a forEach property equal to this forEach function Closes #85
2011-01-07change to keydown from keyup; add delayed $updateViewMisko Hevery
- There was a perceived lag when typing do to the fact that we were listening on the keyup event instead of keydown. The issue with keydown is that we can not read the value of the input field. To solve this we schedule a defer call and perform the model update then. - To prevent calling $eval on root scope too many times as well as to prevent drowning the browser with too many updates we now call the $eval only after 25ms and any additional requests get ignored. The new update service is called $updateView
2011-01-07rename nodeName due to conflicts with jqueryIgor Minar
2011-01-04rename scope.$inject to scope.$serviceIgor Minar
see changelog diff for more info
2010-12-02Closes #170. Corrected the behavior of select when options are ng:repeatedMisko Hevery
- Delete $postEval method, as it was a hack
2010-11-18add @workInProgress tag and mark all @ngdocs as work in progressIgor Minar
2010-11-15added remaining directives and search box.Misko Hevery
2010-10-27Fix failing tests for ie, and mark elements as ng-widget, ng-directive, and ↵Misko Hevery
ng-binding
2010-10-12Fixed issue where compiler would pass in detached text node if previous ↵Misko Hevery
markup would have removed it.
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-08change ng:controller to create new scope hence allow nestingMisko Hevery
2010-09-23fix parseInt by adding radix so that it does not default to octal if the ↵Misko Hevery
string starts with 0
2010-09-21HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are ↵Misko Hevery
data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.)
2010-08-18stringify names for better compression, remove dead functions, removed ↵Misko Hevery
underscore.js compatibility
2010-07-30rename textMarkup to markupMisko Hevery
2010-07-26minor performance improvementsMisko Hevery
2010-07-20fixed xhtml compatibility, fix console in chromeMisko Hevery
2010-07-02change all attributes from ng- to ng: prefixMisko Hevery
2010-04-30make xhr post optionalMisko Hevery
2010-04-26fix ie bug with null and orphans elementsMisko Hevery
2010-04-26allow the widget to change structure of the DOM and have the compiler follow ↵Misko Hevery
the replaced element.
2010-04-20fixes to enable ieMisko Hevery
2010-04-19last failing ie test remainingMisko Hevery
2010-04-19fix bug which got introduced by accidentMisko Hevery
2010-04-19fix ie bug with .text() on jqliteMisko Hevery
2010-04-12added ng-eval-order attributeMisko Hevery
2010-04-09various bug fixesMisko Hevery
2010-04-07clean up, fixes for appMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-03-31started to add servicesMisko Hevery
2010-03-30more tests fixedMisko Hevery
2010-03-29reenabled more testsMisko Hevery
2010-03-29dissabled a lot of tests, and made the core test set pass.Misko Hevery
2010-03-26moved all uneeded files out, widgets.html works, tests horribly brokenMisko Hevery