Skip to content

Commit

Permalink
Remove important token in ini definition (#1047)
Browse files Browse the repository at this point in the history
* rename prism-ini section token to selector

* updated min file

* use [ \t] instead of the more general \s
  • Loading branch information
aviaryan authored and LeaVerou committed Nov 1, 2016
1 parent cba78f3 commit fe8ad8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-ini.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Prism.languages.ini= {
'comment': /^[ \t]*;.*$/m,
'important': /\[.*?\]/,
'selector': /^[ \t]*\[.*?\]/m,
'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m,
'attr-value': {
pattern: /=.*/,
Expand Down
2 changes: 1 addition & 1 deletion components/prism-ini.min.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Prism.languages.ini={comment:/^[ \t]*;.*$/m,important:/\[.*?\]/,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}};
Prism.languages.ini={comment:/^[ \t]*;.*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}};

0 comments on commit fe8ad8b

Please sign in to comment.