aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular-bootstrap.js
AgeCommit message (Collapse)Author
2011-02-16added missing semicolonsMisko Hevery
2011-02-15split up services into individual filesIgor Minar
- split up services into files under src/service - split up specs into files under test/service - rewrite all specs so that they don't depend on one global forEach - get rid of obsolete code and tests in ng:switch - rename mock $log spec from "$log" to "$log mock"
2011-01-24fix clobber test in angular-bootstrap.js for FFIgor Minar
2011-01-07add global namespace clobbering check to angular-bootstrapIgor Minar
2010-10-26create HTML sanitizer to allow inclusion of untrusted HTML in safe manner.Misko Hevery
Sanitization works in two phases: 1) We parse the HTML into sax-like events (start, end, chars). HTML parsing is very complex, and so it may very well be that what most browser consider valid HTML may not pares properly here, but we do best effort. We treat this parser as untrusted. 2) We have safe sanitizeWriter which treats its input (start, end, chars) as untrusted content and escapes everything. It only allows elements in the whitelist and only allows attributes which are whitelisted. Any attribute value must not start with 'javascript:'. This check is performed after escaping for entity (&xAB; etc..) and ignoring any whitespace. - Correct linky filter to use safeHtmlWriter - Correct html filter to use safeHtmlWriter Close #33; Close #34
2010-10-18inline all images into cssIgor Minar
* embedded images as data URIs * rake task to generate multipart js file with embeded images for IE * move images into a separate directory outside of src or css and keep them there for reference * clean up Rakefile and ruby code * .gitignore update * don't penalize IE 8+ with an extra request to the ie-compat.js file
2010-10-18JSON parser is now strict (ie, expressions are not allowed for security)Misko Hevery
Close #57
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-07-29fix broken build, fix #autobind and css loadingMisko Hevery
2010-07-29refactored $location service so that it correctly updates under all conditionsMisko Hevery
2010-05-28change order of initializationMisko Hevery
2010-04-09various bug fixesMisko Hevery
2010-04-05added hover serviceMisko Hevery
2010-04-05added ng:switch widgetMisko Hevery
2010-04-03browser is now injectable into the systemMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-04-01work on $location and autobindMisko Hevery
2010-03-26moved all uneeded files out, widgets.html works, tests horribly brokenMisko Hevery
2010-03-16twitter using resourcesAdam Abrons
2010-01-29added bootstrap, fixed formatterMisko Hevery
2010-01-18checkpoint for integration with angularMisko Hevery
2010-01-11all files converted to prototype= {}Misko Hevery
2010-01-09removed nglr namespaceMisko Hevery
2010-01-08created a way to init the code without autobootstrapMisko Hevery
2010-01-05angular.jsAdam Abrons