~ubuntu-branches/ubuntu/vivid/phabricator/vivid-proposed

« back to all changes in this revision

Viewing changes to arcanist/src/lint/linter/__tests__/lessc/mixins-closure.lint-test

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-10-23 20:49:26 UTC
  • mfrom: (0.2.1) (0.1.1)
  • Revision ID: package-import@ubuntu.com-20141023204926-vq80u1op4df44azb
Tags: 0~git20141023-1
Initial release (closes: #703046)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.scope {
 
2
    @var: 99px;
 
3
    .mixin () {
 
4
        width: @var;
 
5
    }
 
6
}
 
7
 
 
8
.class {
 
9
    .scope > .mixin;
 
10
}
 
11
 
 
12
.overwrite {
 
13
    @var: 0px;
 
14
    .scope > .mixin;
 
15
}
 
16
 
 
17
.nested {
 
18
    @var: 5px;
 
19
    .mixin () {
 
20
        width: @var;
 
21
    }
 
22
    .class {
 
23
        @var: 10px;
 
24
       .mixin;
 
25
    }
 
26
}
 
27
~~~~~~~~~~