1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/haml.js"],"names":["module","exports","hljs","case_insensitive","contains","className","begin","relevance","COMMENT","starts","end","subLanguage","returnBegin","endsWithParent","APOS_STRING_MODE","QUOTE_STRING_MODE","excludeEnd"],"mappings":"oFAAAA,EAAOC,QACP,SAASC,GACP,MAAO,CACLC,kBAAkB,EAClBC,SAAU,CACR,CACEC,UAAW,OACXC,MAAO,gEACPC,UAAW,IAGbL,EAAKM,QACH,yBACA,EACA,CACED,UAAW,IAGf,CACED,MAAO,qBACPG,OAAQ,CACNC,IAAK,MACLC,YAAa,SAGjB,CACEN,UAAW,MACXC,MAAO,SACPF,SAAU,CACR,CACEC,UAAW,eACXC,MAAO,QAET,CACED,UAAW,cACXC,MAAO,YAET,CACED,UAAW,iBACXC,MAAO,cAET,CACEA,MAAO,QACPI,IAAK,QACLN,SAAU,CACR,CACEE,MAAO,cACPI,IAAK,QACLE,aAAa,EACbC,gBAAgB,EAChBT,SAAU,CACR,CACEC,UAAW,OACXC,MAAO,SAETJ,EAAKY,iBACLZ,EAAKa,kBACL,CACET,MAAO,OACPC,UAAW,OAMrB,CACED,MAAO,UACPI,IAAK,UACLM,YAAY,EACZZ,SAAU,CACR,CACEE,MAAO,YACPI,IAAK,OACLE,aAAa,EACbC,gBAAgB,EAChBT,SAAU,CACR,CACEC,UAAW,OACXC,MAAO,OACPC,UAAW,GAEbL,EAAKY,iBACLZ,EAAKa,kBACL,CACET,MAAO,OACPC,UAAW,SAQzB,CACED,MAAO,iBAET,CACEA,MAAO,KACPG,OAAQ,CACNC,IAAK,IACLC,YAAa","file":"highlight/haml.js?v=b68f3271e0e4952cc997","sourcesContent":["module.exports = // TODO support filter tags like :javascript, support inline HTML\nfunction(hljs) {\n return {\n case_insensitive: true,\n contains: [\n {\n className: 'meta',\n begin: '^!!!( (5|1\\\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\\\b.*))?$',\n relevance: 10\n },\n // FIXME these comments should be allowed to span indented lines\n hljs.COMMENT(\n '^\\\\s*(!=#|=#|-#|/).*$',\n false,\n {\n relevance: 0\n }\n ),\n {\n begin: '^\\\\s*(-|=|!=)(?!#)',\n starts: {\n end: '\\\\n',\n subLanguage: 'ruby'\n }\n },\n {\n className: 'tag',\n begin: '^\\\\s*%',\n contains: [\n {\n className: 'selector-tag',\n begin: '\\\\w+'\n },\n {\n className: 'selector-id',\n begin: '#[\\\\w-]+'\n },\n {\n className: 'selector-class',\n begin: '\\\\.[\\\\w-]+'\n },\n {\n begin: '{\\\\s*',\n end: '\\\\s*}',\n contains: [\n {\n begin: ':\\\\w+\\\\s*=>',\n end: ',\\\\s+',\n returnBegin: true,\n endsWithParent: true,\n contains: [\n {\n className: 'attr',\n begin: ':\\\\w+'\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n begin: '\\\\w+',\n relevance: 0\n }\n ]\n }\n ]\n },\n {\n begin: '\\\\(\\\\s*',\n end: '\\\\s*\\\\)',\n excludeEnd: true,\n contains: [\n {\n begin: '\\\\w+\\\\s*=',\n end: '\\\\s+',\n returnBegin: true,\n endsWithParent: true,\n contains: [\n {\n className: 'attr',\n begin: '\\\\w+',\n relevance: 0\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n {\n begin: '\\\\w+',\n relevance: 0\n }\n ]\n }\n ]\n }\n ]\n },\n {\n begin: '^\\\\s*[=~]\\\\s*'\n },\n {\n begin: '#{',\n starts: {\n end: '}',\n subLanguage: 'ruby'\n }\n }\n ]\n };\n};"],"sourceRoot":""}
|