Skip to content

Instantly share code, notes, and snippets.

View maciej-gurban's full-sized avatar

Maciej Gurban maciej-gurban

  • AlphaSense
  • Finland
View GitHub Profile
0x88B86b3F5E0958427504b2a2caF98D48958F1f9d

Always at least scan the commit log for warning signs

  • Patch versions (x.x.Y) can be OK’d and merged by a single person
  • Minor versions (x.Y.x) should be reviewed by two persons and when applicable, also tested in local dev environment
  • Major versions (Y.x.x) as with minor, but with even more caution; more attention to the changelog
const app = angular.module('myApp', []);
angular.module('myApp').component('foobar', {
controller: function() {
this.foo = 100;
},
template: `This is Angular app!`,
});
//(function(){
const app = angular.module('myApp', []);
angular.module('myApp').component('foobar', {
controller: function() {
this.foo = 100;
},
template: `This is Angular app!`,
});
//})();

How to detect breakpoints in Bootstrap using JavaScript

A simple way of detecting changes in currently active breakpoint, as well as executing breakpoint-specific JavaScript code.

A Pen by Maciej Gurban on CodePen.

License.