~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/components/prism-roboconf.js

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Prism.languages.roboconf = {
 
2
        'comment': /#.*/,
 
3
        'keyword': {
 
4
                'pattern': /(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,
 
5
                lookbehind: true
 
6
        },
 
7
        'component': {
 
8
                pattern: /[\w-]+(?=[ \t]*\{)/,
 
9
                alias: 'variable'
 
10
        },
 
11
        'property': /[\w.-]+(?=[ \t]*:)/,
 
12
        'value': {
 
13
                pattern: /(=[ \t]*)[^,;]+/,
 
14
                lookbehind: true,
 
15
                alias: 'attr-value'
 
16
        },
 
17
        'optional': {
 
18
                pattern: /\(optional\)/,
 
19
                alias: 'builtin'
 
20
        },
 
21
        'wildcard': {
 
22
                pattern: /(\.)\*/,
 
23
                lookbehind: true,
 
24
                alias: 'operator'
 
25
        },
 
26
        'punctuation': /[{},.;:=]/
 
27
};
 
 
b'\\ No newline at end of file'