Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-03-26 17:06:11 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-04-20 16:06:47 +0300
commit1061537667fc37e4a0c0500920cc680fe4af92af (patch)
tree71e828cb15d9e6cd516fa0c3fc1fc9ed87ccf2dd /js/highlight/handlebars.js.map
parentedbb47d0ff845b1fae5edcf81d2e15890609c1e3 (diff)
Enable Text to be used by Viewer outside Files app
Since Nextcloud 18.0.4 the Files app triggers the "LoadViewer" event, so that event can be used to register Text with Viewer instead of doing it through the "OCA\Files::loadAdditionalScripts" event. Besides being more correct for the Files app it also makes possible to use Text when opening files through Viewer in other apps, like Talk. Note, however, that in public share pages Text is still opened using the fallback actions instead of through Viewer, as Viewer currently does not provide the share token of the public shared folder that contains the file to be opened. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'js/highlight/handlebars.js.map')
-rw-r--r--js/highlight/handlebars.js.map2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/handlebars.js.map b/js/highlight/handlebars.js.map
index cb1f8672d..068457ba6 100644
--- a/js/highlight/handlebars.js.map
+++ b/js/highlight/handlebars.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/handlebars.js"],"names":["module","exports","hljs","BUILT_INS","IDENTIFIER_PLAIN_OR_QUOTED","begin","EXPRESSION_OR_HELPER_CALL","inherit","keywords","starts","endsWithParent","relevance","contains","BLOCK_MUSTACHE_CONTENTS","className","BASIC_MUSTACHE_CONTENTS","aliases","case_insensitive","subLanguage","skip","COMMENT","end","returnEnd"],"mappings":"oFAAAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAY,CAAC,eAAgB,iHAE7BC,EAA6B,CAC/BC,MAAO,2BAGLC,EAA4BJ,EAAKK,QAAQH,EAA4B,CACvEI,SAAUL,EACVM,OAAQ,CAENC,gBAAgB,EAChBC,UAAW,EACXC,SAAU,CAACV,EAAKK,QAAQH,EAA4B,CAACO,UAAW,QAIhEE,EAA0BX,EAAKK,QAAQD,EAA2B,CACpEQ,UAAW,SAGTC,EAA0Bb,EAAKK,QAAQD,EAA2B,CAEpEK,UAAW,IAMb,MAAO,CACLK,QAAS,CAAC,MAAO,WAAY,mBAC7BC,kBAAkB,EAClBC,YAAa,MACbN,SAAU,CAPoC,CAACP,MAAO,SAAUc,MAAM,GACjB,CAACd,MAAO,eAAgBc,MAAM,GASjFjB,EAAKkB,QAAQ,UAAW,UACxBlB,EAAKkB,QAAQ,QAAS,QACtB,CAEEN,UAAW,eACXT,MAAO,iBAAkBgB,IAAK,WAC9BT,SAAU,CAACC,GACXJ,OAAQ,CAACY,IAAK,aAAcC,WAAW,EAAMJ,YAAa,QAE5D,CAEEJ,UAAW,eACXT,MAAO,aAAcgB,IAAK,WAC1BT,SAAU,CAACC,IAEb,CAEEC,UAAW,eACXT,MAAO,YAAagB,IAAK,OACzBT,SAAU,CAACC,IAEb,CAEEC,UAAW,oBACXT,MAAO,SAAUgB,IAAK,SACtBb,SAAUL,EACVS,SAAU,CAACG,IAEb,CAEED,UAAW,oBACXT,MAAO,OAAQgB,IAAK,OACpBb,SAAUL,EACVS,SAAU,CAACG","file":"highlight/handlebars.js?v=247e6e8379dbd0ce060d","sourcesContent":["module.exports = function (hljs) {\n var BUILT_INS = {'builtin-name': 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield lookup'};\n\n var IDENTIFIER_PLAIN_OR_QUOTED = {\n begin: /\".*?\"|'.*?'|\\[.*?\\]|\\w+/\n };\n\n var EXPRESSION_OR_HELPER_CALL = hljs.inherit(IDENTIFIER_PLAIN_OR_QUOTED, {\n keywords: BUILT_INS,\n starts: {\n // helper params\n endsWithParent: true,\n relevance: 0,\n contains: [hljs.inherit(IDENTIFIER_PLAIN_OR_QUOTED, {relevance: 0})]\n }\n });\n\n var BLOCK_MUSTACHE_CONTENTS = hljs.inherit(EXPRESSION_OR_HELPER_CALL, {\n className: 'name'\n });\n\n var BASIC_MUSTACHE_CONTENTS = hljs.inherit(EXPRESSION_OR_HELPER_CALL, {\n // relevance 0 for backward compatibility concerning auto-detection\n relevance: 0\n });\n\n var ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH = {begin: /\\\\\\{\\{/, skip: true};\n var PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH = {begin: /\\\\\\\\(?=\\{\\{)/, skip: true};\n\n return {\n aliases: ['hbs', 'html.hbs', 'html.handlebars'],\n case_insensitive: true,\n subLanguage: 'xml',\n contains: [\n ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH,\n PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH,\n hljs.COMMENT(/\\{\\{!--/, /--\\}\\}/),\n hljs.COMMENT(/\\{\\{!/, /\\}\\}/),\n {\n // open raw block \"{{{{raw}}}} content not evaluated {{{{/raw}}}}\"\n className: 'template-tag',\n begin: /\\{\\{\\{\\{(?!\\/)/, end: /\\}\\}\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS],\n starts: {end: /\\{\\{\\{\\{\\//, returnEnd: true, subLanguage: 'xml'}\n },\n {\n // close raw block\n className: 'template-tag',\n begin: /\\{\\{\\{\\{\\//, end: /\\}\\}\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS]\n },\n {\n // open block statement\n className: 'template-tag',\n begin: /\\{\\{[#\\/]/, end: /\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS],\n },\n {\n // template variable or helper-call that is NOT html-escaped\n className: 'template-variable',\n begin: /\\{\\{\\{/, end: /\\}\\}\\}/,\n keywords: BUILT_INS,\n contains: [BASIC_MUSTACHE_CONTENTS]\n },\n {\n // template variable or helper-call that is html-escaped\n className: 'template-variable',\n begin: /\\{\\{/, end: /\\}\\}/,\n keywords: BUILT_INS,\n contains: [BASIC_MUSTACHE_CONTENTS]\n }\n ]\n };\n};"],"sourceRoot":""} \ No newline at end of file
+{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/handlebars.js"],"names":["module","exports","hljs","BUILT_INS","IDENTIFIER_PLAIN_OR_QUOTED","begin","EXPRESSION_OR_HELPER_CALL","inherit","keywords","starts","endsWithParent","relevance","contains","BLOCK_MUSTACHE_CONTENTS","className","BASIC_MUSTACHE_CONTENTS","aliases","case_insensitive","subLanguage","skip","COMMENT","end","returnEnd"],"mappings":"oFAAAA,EAAOC,QAAU,SAAUC,GACzB,IAAIC,EAAY,CAAC,eAAgB,iHAE7BC,EAA6B,CAC/BC,MAAO,2BAGLC,EAA4BJ,EAAKK,QAAQH,EAA4B,CACvEI,SAAUL,EACVM,OAAQ,CAENC,gBAAgB,EAChBC,UAAW,EACXC,SAAU,CAACV,EAAKK,QAAQH,EAA4B,CAACO,UAAW,QAIhEE,EAA0BX,EAAKK,QAAQD,EAA2B,CACpEQ,UAAW,SAGTC,EAA0Bb,EAAKK,QAAQD,EAA2B,CAEpEK,UAAW,IAMb,MAAO,CACLK,QAAS,CAAC,MAAO,WAAY,mBAC7BC,kBAAkB,EAClBC,YAAa,MACbN,SAAU,CAPoC,CAACP,MAAO,SAAUc,MAAM,GACjB,CAACd,MAAO,eAAgBc,MAAM,GASjFjB,EAAKkB,QAAQ,UAAW,UACxBlB,EAAKkB,QAAQ,QAAS,QACtB,CAEEN,UAAW,eACXT,MAAO,iBAAkBgB,IAAK,WAC9BT,SAAU,CAACC,GACXJ,OAAQ,CAACY,IAAK,aAAcC,WAAW,EAAMJ,YAAa,QAE5D,CAEEJ,UAAW,eACXT,MAAO,aAAcgB,IAAK,WAC1BT,SAAU,CAACC,IAEb,CAEEC,UAAW,eACXT,MAAO,YAAagB,IAAK,OACzBT,SAAU,CAACC,IAEb,CAEEC,UAAW,oBACXT,MAAO,SAAUgB,IAAK,SACtBb,SAAUL,EACVS,SAAU,CAACG,IAEb,CAEED,UAAW,oBACXT,MAAO,OAAQgB,IAAK,OACpBb,SAAUL,EACVS,SAAU,CAACG","file":"highlight/handlebars.js?v=0b010ed35fd29394a752","sourcesContent":["module.exports = function (hljs) {\n var BUILT_INS = {'builtin-name': 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield lookup'};\n\n var IDENTIFIER_PLAIN_OR_QUOTED = {\n begin: /\".*?\"|'.*?'|\\[.*?\\]|\\w+/\n };\n\n var EXPRESSION_OR_HELPER_CALL = hljs.inherit(IDENTIFIER_PLAIN_OR_QUOTED, {\n keywords: BUILT_INS,\n starts: {\n // helper params\n endsWithParent: true,\n relevance: 0,\n contains: [hljs.inherit(IDENTIFIER_PLAIN_OR_QUOTED, {relevance: 0})]\n }\n });\n\n var BLOCK_MUSTACHE_CONTENTS = hljs.inherit(EXPRESSION_OR_HELPER_CALL, {\n className: 'name'\n });\n\n var BASIC_MUSTACHE_CONTENTS = hljs.inherit(EXPRESSION_OR_HELPER_CALL, {\n // relevance 0 for backward compatibility concerning auto-detection\n relevance: 0\n });\n\n var ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH = {begin: /\\\\\\{\\{/, skip: true};\n var PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH = {begin: /\\\\\\\\(?=\\{\\{)/, skip: true};\n\n return {\n aliases: ['hbs', 'html.hbs', 'html.handlebars'],\n case_insensitive: true,\n subLanguage: 'xml',\n contains: [\n ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH,\n PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH,\n hljs.COMMENT(/\\{\\{!--/, /--\\}\\}/),\n hljs.COMMENT(/\\{\\{!/, /\\}\\}/),\n {\n // open raw block \"{{{{raw}}}} content not evaluated {{{{/raw}}}}\"\n className: 'template-tag',\n begin: /\\{\\{\\{\\{(?!\\/)/, end: /\\}\\}\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS],\n starts: {end: /\\{\\{\\{\\{\\//, returnEnd: true, subLanguage: 'xml'}\n },\n {\n // close raw block\n className: 'template-tag',\n begin: /\\{\\{\\{\\{\\//, end: /\\}\\}\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS]\n },\n {\n // open block statement\n className: 'template-tag',\n begin: /\\{\\{[#\\/]/, end: /\\}\\}/,\n contains: [BLOCK_MUSTACHE_CONTENTS],\n },\n {\n // template variable or helper-call that is NOT html-escaped\n className: 'template-variable',\n begin: /\\{\\{\\{/, end: /\\}\\}\\}/,\n keywords: BUILT_INS,\n contains: [BASIC_MUSTACHE_CONTENTS]\n },\n {\n // template variable or helper-call that is html-escaped\n className: 'template-variable',\n begin: /\\{\\{/, end: /\\}\\}/,\n keywords: BUILT_INS,\n contains: [BASIC_MUSTACHE_CONTENTS]\n }\n ]\n };\n};"],"sourceRoot":""} \ No newline at end of file