aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular-bootstrap.js
AgeCommit message (Collapse)Author
2012-01-10feat(module): new module loaderMisko Hevery
2011-11-30fix(angular-boostrap): add missing jQuery/jqLite bindingIgor Minar
2011-10-31fix(angular-bootstrap): fix boostrap scripts that broke w\ 5a2dcb9aIgor Minar
Commit 5a2dcb9a doesn't properly modify angular-boostrap.js. This fix resolves issues and makes both the regular and scenario version of angular-boostrap.js functional.
2011-10-26feat(bootstrap): drop angular.js file name restrictions for autobindIgor Minar
The last script element in the dom is always us if the script that contains angular is loaded synchronously. For async loading manual bootstrap needs to be performed. Close #621
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-09-13style(bootstrap): fix some missing spacesDi Peng
2011-09-13refactor(angular): externalize script load order into JSONDi Peng
- move all script load order into angularFiles.js - rakefile and angular-bootstrap.js use angularFiles.js to get script orders - gen_jstd_configs.js uses angularFiles.js to generate various jstd config files - run gen_jstd_configs.js whenever we run server.sh Closes #470
2011-09-08feat($sniffer): basic implementation of browser feature testingVojta Jina
This only extracts our 'hashchange' event and html5 history api detection from $browser. Closes #400
2011-08-31feat($route): add events before/after route changeMisko Hevery
BREAKING CHANGE * removing `onChange` FEATURE * adding three events: $beforeRouteChange, $afterRouteChange, $routeReload
2011-08-14feat($locale): add default locale service for en-USDi Peng
2011-08-12refactor(scope): remove $flush/$observe ng:eval/ng:eval-orderMisko Hevery
2011-08-12fix(bootstrap): missing var failed strict mode bootMisko Hevery
2011-07-22chore(license): update license headers + add version numIgor Minar
- fixed copyright overnship - updated copyright years - added @license tag so that closure compiler preserves the header - added version number into headers (finally!)
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-07-13fix(bootstrap): Fix bootstrap on IE<8Vojta Jina
No reason for including ie-compat in bootstrap, it's included during angularInit. Fix including ie-compat even for production.
2011-06-08removed jqLite warningMisko Hevery
2011-03-11ng:autobind now optionally takes element idIgor Minar
so it is possible to easily compile just a part of a document. e.g.: <html> <head> <title>partially compiled doc</title> <script src="angular.js" ng:autobind="compileThis"></script> </head> <body> this part won't be compiled: {{1+2}} <div id="compileThis" ng:init="i=0" ng:click="i = i+1"> Click count: {{i}} </div> </body> </html>
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