Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Unified Diff: lib/src/prism/components/prism-less.js

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/prism/components/prism-latex.min.js ('k') | lib/src/prism/components/prism-less.min.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/prism/components/prism-less.js
diff --git a/lib/src/prism/components/prism-less.js b/lib/src/prism/components/prism-less.js
index 0ed468c5432290ffa43592ea91490e1c456e0de7..712488a6c8d1679933a4907b4c8c5efd14cd93d2 100644
--- a/lib/src/prism/components/prism-less.js
+++ b/lib/src/prism/components/prism-less.js
@@ -29,7 +29,7 @@ Prism.languages.less = Prism.languages.extend('css', {
}
},
- 'property': /(\b|\B)(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,
+ 'property': /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,
'punctuation': /[{}();:,]/,
'operator': /[+\-*\/]/
});
« no previous file with comments | « lib/src/prism/components/prism-latex.min.js ('k') | lib/src/prism/components/prism-less.min.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698