From aashish.chaudhary at kitware.com Wed Jul 1 09:50:06 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 1 Jul 2015 09:50:06 -0400 Subject: [Geojs-developers] Fwd: [girder] Add a grunt option for disabling uglify mangling (#881) In-Reply-To: References: Message-ID: Jon, Should we add this option to geojs as well? - aashish ---------- Forwarded message ---------- From: Zach Mullen Date: Wed, Jul 1, 2015 at 9:48 AM Subject: [girder] Add a grunt option for disabling uglify mangling (#881) To: girder/girder ------------------------------ You can view, comment on, or merge this pull request online at: https://github.com/girder/girder/pull/881 Commit Summary - Add a grunt option for disabling uglify mangling File Changes - *M* Gruntfile.js (27) - *M* docs/development.rst (5) Patch Links: - https://github.com/girder/girder/pull/881.patch - https://github.com/girder/girder/pull/881.diff ? Reply to this email directly or view it on GitHub . -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.beezley at kitware.com Wed Jul 1 09:51:05 2015 From: jonathan.beezley at kitware.com (Jonathan Beezley) Date: Wed, 1 Jul 2015 09:51:05 -0400 Subject: [Geojs-developers] [girder] Add a grunt option for disabling uglify mangling (#881) In-Reply-To: References: Message-ID: We already generate both minified and non-minified. On Wed, Jul 1, 2015 at 9:50 AM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > Jon, > > Should we add this option to geojs as well? > > - aashish > > ---------- Forwarded message ---------- > From: Zach Mullen > Date: Wed, Jul 1, 2015 at 9:48 AM > Subject: [girder] Add a grunt option for disabling uglify mangling (#881) > To: girder/girder > > > ------------------------------ > You can view, comment on, or merge this pull request online at: > > https://github.com/girder/girder/pull/881 > Commit Summary > > - Add a grunt option for disabling uglify mangling > > File Changes > > - *M* Gruntfile.js > (27) > - *M* docs/development.rst > (5) > > Patch Links: > > - https://github.com/girder/girder/pull/881.patch > - https://github.com/girder/girder/pull/881.diff > > ? > Reply to this email directly or view it on GitHub > . > > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Wed Jul 1 09:54:21 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 1 Jul 2015 09:54:21 -0400 Subject: [Geojs-developers] [girder] Add a grunt option for disabling uglify mangling (#881) In-Reply-To: References: Message-ID: Sure, but what happens is that examples (or tests), one of these two, uses geo.min.js and then we are debugging its an extra step to change then to use geo.js. I am wondering if we we provide debug-js option, then we won't mangle geo.min.js as well? Just a thought. - aashish On Wed, Jul 1, 2015 at 9:51 AM, Jonathan Beezley < jonathan.beezley at kitware.com> wrote: > We already generate both minified and non-minified. > > On Wed, Jul 1, 2015 at 9:50 AM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> Jon, >> >> Should we add this option to geojs as well? >> >> - aashish >> >> ---------- Forwarded message ---------- >> From: Zach Mullen >> Date: Wed, Jul 1, 2015 at 9:48 AM >> Subject: [girder] Add a grunt option for disabling uglify mangling (#881) >> To: girder/girder >> >> >> ------------------------------ >> You can view, comment on, or merge this pull request online at: >> >> https://github.com/girder/girder/pull/881 >> Commit Summary >> >> - Add a grunt option for disabling uglify mangling >> >> File Changes >> >> - *M* Gruntfile.js >> (27) >> - *M* docs/development.rst >> (5) >> >> Patch Links: >> >> - https://github.com/girder/girder/pull/881.patch >> - https://github.com/girder/girder/pull/881.diff >> >> ? >> Reply to this email directly or view it on GitHub >> . >> >> >> >> -- >> >> >> >> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >> * >> *| http://www.kitware.com/company/team/chaudhary.html >> * >> > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonathan.beezley at kitware.com Wed Jul 1 10:00:27 2015 From: jonathan.beezley at kitware.com (Jonathan Beezley) Date: Wed, 1 Jul 2015 10:00:27 -0400 Subject: [Geojs-developers] [girder] Add a grunt option for disabling uglify mangling (#881) In-Reply-To: References: Message-ID: If we are producing both anyway, it doesn't make sense to not minify geo.min.js. That is just confusing. We could provide a development option that causes the examples to use the non-minified version though. On Wed, Jul 1, 2015 at 9:54 AM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > Sure, but what happens is that examples (or tests), one of these two, uses > geo.min.js and then we are debugging its an extra step to change then to > use geo.js. I am wondering if we we provide debug-js option, then we won't > mangle geo.min.js as well? Just a thought. > > - aashish > > On Wed, Jul 1, 2015 at 9:51 AM, Jonathan Beezley < > jonathan.beezley at kitware.com> wrote: > >> We already generate both minified and non-minified. >> >> On Wed, Jul 1, 2015 at 9:50 AM, Aashish Chaudhary < >> aashish.chaudhary at kitware.com> wrote: >> >>> Jon, >>> >>> Should we add this option to geojs as well? >>> >>> - aashish >>> >>> ---------- Forwarded message ---------- >>> From: Zach Mullen >>> Date: Wed, Jul 1, 2015 at 9:48 AM >>> Subject: [girder] Add a grunt option for disabling uglify mangling (#881) >>> To: girder/girder >>> >>> >>> ------------------------------ >>> You can view, comment on, or merge this pull request online at: >>> >>> https://github.com/girder/girder/pull/881 >>> Commit Summary >>> >>> - Add a grunt option for disabling uglify mangling >>> >>> File Changes >>> >>> - *M* Gruntfile.js >>> (27) >>> - *M* docs/development.rst >>> (5) >>> >>> Patch Links: >>> >>> - https://github.com/girder/girder/pull/881.patch >>> - https://github.com/girder/girder/pull/881.diff >>> >>> ? >>> Reply to this email directly or view it on GitHub >>> . >>> >>> >>> >>> -- >>> >>> >>> >>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>> * >>> *| http://www.kitware.com/company/team/chaudhary.html >>> * >>> >> >> > > > -- > > > > *| Aashish Chaudhary | Technical Leader | Kitware Inc. * > *| http://www.kitware.com/company/team/chaudhary.html > * > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aashish.chaudhary at kitware.com Wed Jul 1 10:01:54 2015 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 1 Jul 2015 10:01:54 -0400 Subject: [Geojs-developers] [girder] Add a grunt option for disabling uglify mangling (#881) In-Reply-To: References: Message-ID: On Wed, Jul 1, 2015 at 10:00 AM, Jonathan Beezley < jonathan.beezley at kitware.com> wrote: > If we are producing both anyway, it doesn't make sense to not minify > geo.min.js. That is just confusing. We could provide a development option > that causes the examples to use the non-minified version though. > Sure, that will be better if thats not too much work. +1 - Aashish > > On Wed, Jul 1, 2015 at 9:54 AM, Aashish Chaudhary < > aashish.chaudhary at kitware.com> wrote: > >> Sure, but what happens is that examples (or tests), one of these two, >> uses geo.min.js and then we are debugging its an extra step to change then >> to use geo.js. I am wondering if we we provide debug-js option, then we >> won't mangle geo.min.js as well? Just a thought. >> >> - aashish >> >> On Wed, Jul 1, 2015 at 9:51 AM, Jonathan Beezley < >> jonathan.beezley at kitware.com> wrote: >> >>> We already generate both minified and non-minified. >>> >>> On Wed, Jul 1, 2015 at 9:50 AM, Aashish Chaudhary < >>> aashish.chaudhary at kitware.com> wrote: >>> >>>> Jon, >>>> >>>> Should we add this option to geojs as well? >>>> >>>> - aashish >>>> >>>> ---------- Forwarded message ---------- >>>> From: Zach Mullen >>>> Date: Wed, Jul 1, 2015 at 9:48 AM >>>> Subject: [girder] Add a grunt option for disabling uglify mangling >>>> (#881) >>>> To: girder/girder >>>> >>>> >>>> ------------------------------ >>>> You can view, comment on, or merge this pull request online at: >>>> >>>> https://github.com/girder/girder/pull/881 >>>> Commit Summary >>>> >>>> - Add a grunt option for disabling uglify mangling >>>> >>>> File Changes >>>> >>>> - *M* Gruntfile.js >>>> (27) >>>> - *M* docs/development.rst >>>> (5) >>>> >>>> Patch Links: >>>> >>>> - https://github.com/girder/girder/pull/881.patch >>>> - https://github.com/girder/girder/pull/881.diff >>>> >>>> ? >>>> Reply to this email directly or view it on GitHub >>>> . >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >>>> * >>>> *| http://www.kitware.com/company/team/chaudhary.html >>>> * >>>> >>> >>> >> >> >> -- >> >> >> >> *| Aashish Chaudhary | Technical Leader | Kitware Inc. >> * >> *| http://www.kitware.com/company/team/chaudhary.html >> * >> > > -- *| Aashish Chaudhary | Technical Leader | Kitware Inc. * *| http://www.kitware.com/company/team/chaudhary.html * -------------- next part -------------- An HTML attachment was scrubbed... URL: