Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(111)

Issue 6821090: Resource minification/aggregation js

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by thiago
Modified:
12 years, 4 months ago
Reviewers:
mp+133116
Visibility:
Public.

Description

Resource minification/aggregation js * We should aggregate and minimize the js sources in order to improve the load speed of the application; * We dont want to use the yui combo loader feature; * The final product will provide three js files: one for the YUI dependencies, one for our custom js code and one for third part js like d3. https://code.launchpad.net/~tveronezi/juju-gui/uglify/+merge/133116 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resource minification/aggregation js #

Patch Set 3 : Resource minification/aggregation js #

Total comments: 72

Patch Set 4 : Resource minification/aggregation js #

Total comments: 1

Patch Set 5 : Resource minification/aggregation js #

Total comments: 27

Patch Set 6 : Resource minification/aggregation js #

Total comments: 2

Patch Set 7 : Resource minification/aggregation js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -115 lines) Patch
M .bzrignore View 1 1 chunk +1 line, -0 lines 0 comments Download
M Makefile View 1 2 3 4 5 5 chunks +21 lines, -3 lines 0 comments Download
A [revision details] View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M app/index.html View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M app/modules.js View 1 2 3 4 5 2 chunks +7 lines, -104 lines 0 comments Download
A app/modules-debug.js View 1 2 3 4 5 1 chunk +131 lines, -0 lines 0 comments Download
A bin/merge-files View 1 2 3 4 5 1 chunk +75 lines, -0 lines 0 comments Download
M grunt.js View 1 chunk +1 line, -1 line 0 comments Download
A lib/merge-files.js View 1 2 3 4 5 1 chunk +137 lines, -0 lines 0 comments Download
M lib/server.js View 1 2 3 4 5 2 chunks +19 lines, -2 lines 0 comments Download
M package.json View 1 chunk +2 lines, -1 line 0 comments Download
M test/index.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22
thiago
Please take a look.
12 years, 4 months ago (2012-11-06 17:56:45 UTC) #1
thiago
https://codereview.appspot.com/6821090/diff/1/merge-files.js File merge-files.js (right): https://codereview.appspot.com/6821090/diff/1/merge-files.js#newcode25 merge-files.js:25: function loop(arr, callback) { Please ignore this method. I ...
12 years, 4 months ago (2012-11-06 19:44:04 UTC) #2
thiago
https://codereview.appspot.com/6821090/diff/1/merge-files.js File merge-files.js (right): https://codereview.appspot.com/6821090/diff/1/merge-files.js#newcode148 merge-files.js:148: I've already removed this blank line.
12 years, 4 months ago (2012-11-06 19:44:51 UTC) #3
thiago
Please take a look.
12 years, 4 months ago (2012-11-06 21:49:01 UTC) #4
thiago
Please take a look.
12 years, 4 months ago (2012-11-06 22:32:46 UTC) #5
benji
Thanks for the branch. I had a few small questions/suggestions and one bigger question (the ...
12 years, 4 months ago (2012-11-07 17:05:18 UTC) #6
thiago
Thanks, Benji! https://codereview.appspot.com/6821090/diff/7001/Makefile File Makefile (right): https://codereview.appspot.com/6821090/diff/7001/Makefile#newcode12 Makefile:12: node_modules/grunt node_modules/node-spritesheet node_modules/node-minify This line does not ...
12 years, 4 months ago (2012-11-07 18:59:19 UTC) #7
gary.poster
Hi Thiago. Thank you for this nice step forward: it will be great when we ...
12 years, 4 months ago (2012-11-07 20:49:30 UTC) #8
thiago
Thanks Gary. https://codereview.appspot.com/6821090/diff/7001/Makefile File Makefile (right): https://codereview.appspot.com/6821090/diff/7001/Makefile#newcode64 Makefile:64: combinejs: $(NODE_TARGETS) On 2012/11/07 20:49:31, gary.poster wrote: ...
12 years, 4 months ago (2012-11-07 21:52:11 UTC) #9
benji
I have added a review of app/assets/combine/merge-files.js (which should probably be in a different place, ...
12 years, 4 months ago (2012-11-07 22:00:47 UTC) #10
thiago
Tkx Benji. https://codereview.appspot.com/6821090/diff/7001/Makefile File Makefile (right): https://codereview.appspot.com/6821090/diff/7001/Makefile#newcode12 Makefile:12: node_modules/grunt node_modules/node-spritesheet node_modules/node-minify On 2012/11/07 22:00:47, benji ...
12 years, 4 months ago (2012-11-07 23:39:29 UTC) #11
thiago
Please take a look.
12 years, 4 months ago (2012-11-07 23:43:34 UTC) #12
thiago
https://codereview.appspot.com/6821090/diff/3002/Makefile File Makefile (right): https://codereview.appspot.com/6821090/diff/3002/Makefile#newcode12 Makefile:12: node_modules/grunt node_modules/node-spritesheet node_modules/node-minify Missing commit. You should see this ...
12 years, 4 months ago (2012-11-07 23:47:58 UTC) #13
thiago
Please take a look.
12 years, 4 months ago (2012-11-09 12:56:34 UTC) #14
thiago
https://codereview.appspot.com/6821090/diff/15005/bin/merge-files File bin/merge-files (right): https://codereview.appspot.com/6821090/diff/15005/bin/merge-files#newcode20 bin/merge-files:20: global.YUI = require('yui').YUI; Please ignore this entry. I moved ...
12 years, 4 months ago (2012-11-09 13:03:06 UTC) #15
gary.poster
This is looking good, Thiago. Thank you! As we discussed, I'm OK with holding off ...
12 years, 4 months ago (2012-11-09 13:57:38 UTC) #16
thiago
https://codereview.appspot.com/6821090/diff/15005/Makefile File Makefile (right): https://codereview.appspot.com/6821090/diff/15005/Makefile#newcode82 Makefile:82: @./bin/write-properties true On 2012/11/09 13:57:38, gary.poster wrote: > I ...
12 years, 4 months ago (2012-11-09 15:33:45 UTC) #17
thiago
https://codereview.appspot.com/6821090/diff/15005/app/modules.js File app/modules.js (right): https://codereview.appspot.com/6821090/diff/15005/app/modules.js#newcode4 app/modules.js:4: ignoreRegistered: true, On 2012/11/09 13:57:38, gary.poster wrote: > Is ...
12 years, 4 months ago (2012-11-09 19:17:33 UTC) #18
thiago
Please take a look.
12 years, 4 months ago (2012-11-09 19:21:31 UTC) #19
gary.poster
Hi Thiago. This looks good to me. Per our discussions: - We are foregoing tests ...
12 years, 4 months ago (2012-11-09 20:44:27 UTC) #20
benji
This is in landable shape now. Thanks for the work on it, especially in review. ...
12 years, 4 months ago (2012-11-09 20:48:31 UTC) #21
thiago
12 years, 4 months ago (2012-11-09 20:54:05 UTC) #22
*** Submitted:

Resource minification/aggregation js

* We should aggregate and minimize the js sources in order to improve the load
speed of the application;
* We dont want to use the yui combo loader feature;
* The final product will provide three js files: one for the YUI dependencies,
one for our custom js code and one for third part js like d3.

R=benji, gary.poster
CC=
https://codereview.appspot.com/6821090
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b