New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/grunt bower #162
Feature/grunt bower #162
Conversation
also add first grunt modules, that will be used, later.
build-cs task from Makefile ported to grunt
copy all common files into browser dependant directories
this is used to create the chrome plugin
more easy to remember (and compatible to Makefile)
use grunt mozilla-addon-sdk to generate an xpi file. Also add an compatibility task 'dist-ff' like in the Makefile.
build everything into a build directory and leave all source directories untouched. This makes the clean task much more easy and simplifies working with the code (e.g. no more opening of files in chrome/common directory)
adjust documentation to grunt workflow
add information about clean and watch tasks
this only happens with newer jQuery, but this should be cleaned up, anyway.
don’t ask anything during `bower install`
Okay … this is the version, we’d like to be merged. All the open tasks have been finished and it seems to work fine for us. |
Amazing stuff! That was definitely a productive weekend :-) |
That’s why we left out wysihtml5. It is possible, but would require some more work. We also experimented with bootstrap3 and this would require some work in this area anyway. So we just left it out, for now. |
On
modifies:
Fixed with: da2e52a |
@johnyb Can you point to exactly where this happened? Thanks |
On Tuesday 11 February 2014 03:54:46 Thomas Oberndörfer wrote:
Is this still happening? It used to happen when closing on of the embedded |
Could not reproduce it. Maybe happened only with newer version of jQuery? Just wanted to know how the fix for this issue looked like. If there is no fix for a non-reproduceable problem, then ok :) |
indeed. At first, we wanted to upgrade some dependencies, but had trouble with this. So we decided to do this as a separate step. This PR should not have changed any code functionality-wise. We only changed some minor things to keep the code nanny silent. BTW: what I haven’t mentioned, yet. We switched off a lot of checks for jshint. So the rule-set now is not very strict. May be, you want to enforce some more strict rules. But these would require larger changes to fix the current code-base. |
Think it would be good to make the code compliant to My personal preference, ignoring Crockford is:
|
We decided to use this weekend to do a little sprint to push mailvelope development a little further. We wanted to integrate a decent build workflow using grunt and add dependency management for ui libraries using bower.
While we were at it, we not only ported most Makefile targets, but also introduce new ones, like jshint. We also changed the directory structure a little. No code is generated into any subdirectory of source files any longer, but we build into the
build/
directory instead. This caused some confusion so we decided it would be better to clean that up.We did no behavioural changes, so everything should work as before. The only reason to touch some source files were to fix jshint errors. (Basically white-space issues and missing semi-colons.)
TODO (still some issues):
switch to wysihtml5 from bowerBlocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
when closing error message - checkcommon/dep/jquery.ext.js