1
|
{"version":3,"file":"highlight/haml.js?v=0b756440beb1ab096165","mappings":"sFAoHAA,EAAOC,QA3GP,SAAcC,GACZ,MAAO,CACLC,KAAM,OACNC,kBAAkB,EAClBC,SAAU,CACR,CACEC,UAAW,OACXC,MAAO,gEACPC,UAAW,IAGbN,EAAKO,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,SAETL,EAAKa,iBACLb,EAAKc,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,GAEbN,EAAKa,iBACLb,EAAKc,kBACL,CACET,MAAO,OACPC,UAAW,SAQzB,CACED,MAAO,iBAET,CACEA,MAAO,MACPG,OAAQ,CACNC,IAAK,KACLC,YAAa","sources":["webpack:///text/node_modules/highlight.js/lib/languages/haml.js"],"sourcesContent":["/*\nLanguage: HAML\nRequires: ruby.js\nAuthor: Dan Allen <dan.j.allen@gmail.com>\nWebsite: http://haml.info\nCategory: template\n*/\n\n// TODO support filter tags like :javascript, support inline HTML\nfunction haml(hljs) {\n return {\n name: 'HAML',\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}\n\nmodule.exports = haml;\n"],"names":["module","exports","hljs","name","case_insensitive","contains","className","begin","relevance","COMMENT","starts","end","subLanguage","returnBegin","endsWithParent","APOS_STRING_MODE","QUOTE_STRING_MODE","excludeEnd"],"sourceRoot":""}
|