-
Notifications
You must be signed in to change notification settings - Fork 34
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
Breaking/tao 4814 atomic bundles #1842
Conversation
…/oat-sa/tao-core into breaking/TAO-4814_atomic-bundles
* - execute the start method of those controllers | ||
* @param {String} url - the | ||
*/ | ||
dispatchUrl : function dispatchUrl(url){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function dispatchUrl
has 69 lines of code (exceeds 25 allowed). Consider refactoring.
if(moduleRoutes.deps){ | ||
dependencies = dependencies.concat(moduleRoutes.deps); | ||
} | ||
if(moduleRoutes.css){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
if(action.deps){ | ||
dependencies = dependencies.concat(action.deps); | ||
} | ||
if(action.css){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit 8443356 and detected 3 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
all good! 👍 |
Migrate TAO to the atomic bundles process
Requires
Feature/tao 4814 bundler task grunt-tao-bundle#1
use the new bundler library
use a unique configuration for the AMD build and test
views/build/config/requirejs.build.json
update the router to load bundles (and test it by the way)
update the AMD loader tag to always load the vendor module
update the tao build config
Using the PR you should be able to run build the bundles for the tao extension :