in your html
<link rel="stylesheet" src="site.less?browser=ie" />
site.less
.opacity(@alpha: 100) {
.opacity(@browser, @alpha);
}
.opacity(ie, @alpha) {
| var Vehicle = Class.extend({ | |
| wheels: function(){ | |
| return null; // does nothing. | |
| } | |
| }); | |
| var Car = Vehicle.extend({ | |
| wheels: functions(){ | |
| return 4; | |
| } |
in your html
<link rel="stylesheet" src="site.less?browser=ie" />
site.less
.opacity(@alpha: 100) {
.opacity(@browser, @alpha);
}
.opacity(ie, @alpha) {
| public class ContainerException : Exception { | |
| public ContainerException(string s) : base(s) {} | |
| } | |
| public interface IContainer { | |
| void Add<T>(); | |
| void Add<Interface, Component>() | |
| void Add<T>(Func<T> resolver) | |
| T Resolve<T>() | |
| object Resolve(Type type) |