Merge "Add patched version of angular-ui bootstrap lib"
This commit is contained in:
commit
5ee471c930
@ -11,7 +11,7 @@ ADD_INSTALLED_APPS = ['merlin', 'mistral']
|
||||
ADD_PANEL = 'mistral.panel.MistralPanel'
|
||||
|
||||
ADD_ANGULAR_MODULES = ['merlin', 'mistral']
|
||||
ADD_JS_FILES = ['merlin/js/custom-libs/ui-bootstrap-tpls-0.12.1.js',
|
||||
ADD_JS_FILES = ['merlin/js/custom-libs/ui-bootstrap-tpls-0.13.0.patched.js',
|
||||
'merlin/js/merlin.init.js',
|
||||
'merlin/js/merlin.templates.js',
|
||||
'mistral/js/mistral.init.js']
|
||||
|
@ -43,7 +43,7 @@ module.exports = function (config) {
|
||||
'merlin/static/merlin/libs/underscore/underscore-min.js',
|
||||
'merlin/static/merlin/libs/js-yaml/dist/js-yaml.min.js',
|
||||
'merlin/static/merlin/js/custom-libs/barricade.js',
|
||||
'merlin/static/merlin/js/custom-libs/ui-bootstrap-tpls-0.12.1.js',
|
||||
'merlin/static/merlin/js/custom-libs/ui-bootstrap-tpls-0.13.0.patched.js',
|
||||
// explicitly require first module definition file to avoid errors
|
||||
'merlin/static/merlin/js/merlin.init.js',
|
||||
'merlin/static/merlin/js/merlin.*.js',
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -109,8 +109,7 @@ describe('merlin directives', function() {
|
||||
it('starts as being expanded', function() {
|
||||
var panel = makePanelWithInnerTags(),
|
||||
body = getPanelBody(panel);
|
||||
|
||||
expect(body.hasClass('collapse')).toBe(true);
|
||||
|
||||
expect(body.hasClass('in')).toBe(true);
|
||||
});
|
||||
|
||||
@ -167,7 +166,6 @@ describe('merlin directives', function() {
|
||||
var element = makeGroupWithInnerTags(),
|
||||
body = getGroupBody(element);
|
||||
|
||||
expect(body.hasClass('collapse')).toBe(true);
|
||||
expect(body.hasClass('in')).toBe(true);
|
||||
});
|
||||
|
||||
@ -181,7 +179,6 @@ describe('merlin directives', function() {
|
||||
|
||||
link.triggerHandler('click');
|
||||
|
||||
expect(body.hasClass('collapse')).toBe(false);
|
||||
expect(body.hasClass('collapsing')).toBe(true);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user