Commit graph

896 commits

Author SHA1 Message Date
Igor Minar
faf29dd047 upgrade closure compiler to version 20110322
the new version minifies our js better:

              before   |  after  | diff
-----------------------------------------
min       |  62161     | 60868   | -2.1%
min+gzip  |  25176     | 24552   | -2.5%
2011-03-26 23:22:00 -07:00
Igor Minar
510b5f3d90 renaming lib/compiler-closure to lib/closure-compiler 2011-03-26 23:21:59 -07:00
Igor Minar
1e59822df7 remove _null and _undefined
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-26 23:19:04 -07:00
Igor Minar
d95a6925cd fix broken 'downloading' links 2011-03-23 15:25:05 -07:00
Pepper Lebeck-Jobe
b4d680a921 Fixes two links on the conribute page. 2011-03-22 10:18:07 -07:00
Pepper Lebeck-Jobe
ff4480be65 Fixes a typo xmlsn -> xmlns 2011-03-22 10:10:55 -07:00
Anthony Lieuallen
cf0513dc6f Require 'yaml' in Rakefile. 2011-03-22 10:03:27 -07:00
Igor Minar
dfba8fb2e7 fixing broken angular-mocks.js 2011-03-15 16:13:11 -07:00
Igor Minar
a0af13f672 preparing the 0.9.14 key-maker iteration 2011-03-13 23:15:36 -07:00
Igor Minar
69e6379d19 cutting the 0.9.13 curdling-stare release 2011-03-13 22:48:26 -07:00
Igor Minar
1094b3471e preparing release notes for the 0.9.13 curdling stare release 2011-03-13 17:34:01 -07:00
Misko Hevery
3224862a9c Stop using document write, so that we are compatible with async script loader 2011-03-11 14:16:53 -08:00
Misko Hevery
0084cb5ca4 Remove the script tag after successful JSONP request 2011-03-11 14:16:53 -08:00
Misko Hevery
c578f8c3ed Added XSRF prevention logic to $xhr service 2011-03-11 14:16:53 -08:00
Misko Hevery
5b05c0de03 @require in ngdoc now takes reason for dependency 2011-03-11 14:16:52 -08:00
Misko Hevery
d19c0ac6d3 Changed the $browser.xhr parameter post from optional to required 2011-03-11 14:16:52 -08:00
Misko Hevery
5343deb3da Consider all 2xx responses as OK, not just 200 2011-03-11 14:16:52 -08:00
Misko Hevery
26bad2bf87 Fixed cookies which contained unescaped '=' would not show up in cookie service. 2011-03-11 14:16:52 -08:00
Igor Minar
d304b0c3df fix failing autobind test on IE 2011-03-11 09:30:53 -08:00
Igor Minar
9d5c533791 ng:autobind now optionally takes element id
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-03-11 08:45:43 -08:00
Igor Minar
7414e7b533 angularJsConfig now allows ng:autobind and #autobind value to be passed in 2011-03-11 08:45:16 -08:00
Misko Hevery
5432dd289a pass undefined through fn closure for better minification 2011-03-09 13:41:16 -08:00
Misko Hevery
194b2c1ea0 Fix IE: reffering to non existent var on window, must be prefixed by window 2011-03-09 13:40:47 -08:00
Misko Hevery
f7a9ea6a41 fix ie7 regression in jqLite which prevented 2011-03-08 20:23:19 -08:00
Igor Minar
627eba2b7c upgrading jasmin-jstd-adapter to 1ade1ad7cad4caadb3a3 11-03-07 2011-03-07 00:07:02 -08:00
Igor Minar
73ee5fc008 jstd r899 2011-02-18 (post 1.3.1) + fix for jasmine adapter. 2011-03-07 00:07:01 -08:00
Misko Hevery
4c762bfe5c fix orberBy documentation error 2011-03-05 22:54:41 -08:00
Igor Minar
749b3e8763 preparing the 0.9.13 curdling-stare iteration 2011-03-03 23:14:43 -08:00
Igor Minar
fd409bd2df cutting the 0.9.12 thought-implanter release 2011-03-03 23:14:43 -08:00
Igor Minar
e80a64883d re-eagarizing the $hover service - mea culpa 2011-03-03 23:14:43 -08:00
Igor Minar
8b2753eee2 fixing left over .scope 2011-03-03 23:14:43 -08:00
Igor Minar
02aa7978d3 fixing link in thought-implanter release notes 2011-03-03 22:59:11 -08:00
Igor Minar
5bf7ff5a3e fixing broken e2e tests 2011-03-03 13:50:12 -08:00
Igor Minar
a01aa7055c preparing release notes for the 0.9.12 though-implanter release 2011-03-03 00:45:20 -08:00
Igor Minar
a01d888eec adding dependency injection docs 2011-03-03 00:16:20 -08:00
Igor Minar
28800a48ad renaming guide.contribute.ngdoc to contribute.ngdoc 2011-03-02 23:19:59 -08:00
Igor Minar
dea72be0cc docs cleanup and improvements
- moving 'downloading' from devguide to "misc"
- syncing the latest version of 'downloading'
- getting rid of junk files
2011-03-02 23:14:13 -08:00
Igor Minar
cd139f5767 $xhr service now autodetects and strips )]}',\n
")]}\',\n" is a commonly used security prefix added to json http
responses iat google and elsewhere in order to prevent certain
cross-site attacks

$xhr service now autodetects the prefix and strips it before
deserializing the json.

the implementation should be more flexible to allow for wider range
of prefixes, but we need this one right now and can address other
usecases later.
2011-03-02 22:56:14 -08:00
Igor Minar
10a7521f0b rename devguide collection in gdocs.js to guide 2011-03-02 17:40:48 -08:00
Igor Minar
887da5684b enhancing gdocs.js to work with nested collections 2011-03-01 22:36:48 -08:00
Igor Minar
95a29d7bde additional fixes for the angular.compile docs 2011-03-01 19:08:30 -08:00
Igor Minar
945056b166 linking function should return bound scope
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-03-01 17:09:25 -08:00
Luther Goh
128feb2674 On some linux systems, such as Ubuntu, /bin/sh symlinks to dash, which causes issues. Symlinking to bash may be more prudent 2011-03-01 10:02:57 +08:00
Igor Minar
a709dc19b8 adding an extra injector spec
- added a spec for dependency graph resolution
- also simplyfying cache presence check
2011-02-27 16:19:21 -08:00
Igor Minar
65585a2d3c $cookie factory fn should not run $eval 2011-02-27 15:54:06 -08:00
Misko Hevery
edbe9d8ca8 Added delay parameter to the $defer service 2011-02-25 11:30:22 -08:00
Misko Hevery
9e67da420b Corrected an issue where properties inherited from __proto__ show up in ng:repeat.
Closses #112
2011-02-25 09:23:30 -08:00
Igor Minar
5fc2b96b97 docs.css should not inline all pragraphs, only those in lists 2011-02-23 15:52:29 -08:00
Igor Minar
a7ee4a8884 gdocs.js should add dropped leading space 2011-02-22 17:42:05 -08:00
Janet Davies
eea0de6db4 Rewrite of the "Contributing" section of the DevGuide 2011-02-22 17:42:00 -08:00