dist/unpoly-bootstrap3.js in unpoly-rails-1.0.3 vs dist/unpoly-bootstrap3.js in unpoly-rails-2.0.0.pre.rc2
- old
+ new
@@ -1,30 +1,16 @@
(function() {
up.feedback.config.currentClasses.push('active');
- up.feedback.config.navs.push('.nav');
+ up.feedback.config.navSelectors.push('.nav', '.navbar');
-}).call(this);
-(function() {
- up.form.config.validateTargets.unshift('.form-group:has(&)');
+ up.form.config.validateTargets.unshift('.form-group:has(:origin)');
-}).call(this);
-(function() {
- up.modal.config.template = "<div class=\"up-modal\">\n <div class=\"up-modal-backdrop\"></div>\n <div class=\"up-modal-viewport\">\n <div class=\"up-modal-dialog modal-dialog\">\n <div class=\"up-modal-content modal-content\"></div>\n </div>\n </div>\n</div>";
-
-}).call(this);
-(function() {
up.viewport.config.fixedTop.push('.navbar-fixed-top');
up.viewport.config.fixedBottom.push('.navbar-fixed-bottom');
- up.viewport.config.anchoredRight.push('.navbar-fixed-top');
+ up.viewport.config.anchoredRight.push('.navbar-fixed-top', '.navbar-fixed-bottom');
- up.viewport.config.anchoredRight.push('.navbar-fixed-bottom');
-
- up.viewport.config.anchoredRight.push('.footer');
-
-}).call(this);
-(function() {
-
+ up.fragment.config.badTargetClasses.push('row', /^col(-xs|-sm|-md|-lg)?(-\d+)?$/);
}).call(this);