##// END OF EJS Templates
Add an optional `default` argument to trait metadata get, like the Python dict's .get() default argument...
Add an optional `default` argument to trait metadata get, like the Python dict's .get() default argument After this, trait_metadata('traitname', 'metadata_key', DEFAULT) will return DEFAULT if the metadata key is not set. DEFAULT defaults to None, like the existing behavior and like the python dict .get() behavior.

File last commit:

r16937:85c6f87f
r17673:1f9294c2
Show More
mixins.less
19 lines | 289 B | text/x-less | LessCssLexer
// Mixin CSS classes
.border-box-sizing {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.corner-all {
border-radius: @border-radius-base;
}
.border-radius(@radius) {
border-radius: @radius;
}
.no-padding {
padding: 0px;
}