1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/editor/vendor/jsonata/snippets-jsonata.js

12 lines
380 B
JavaScript
Raw Normal View History

2016-11-24 00:16:17 +01:00
define("ace/snippets/jsonata",["require","exports","module"], function(require, exports, module) {
2017-03-12 23:02:58 +01:00
"use strict";
var snippetText = "";
for (var fn in jsonata.functions) {
if (jsonata.functions.hasOwnProperty(fn)) {
snippetText += "# "+fn+"\nsnippet "+fn+"\n\t"+jsonata.getFunctionSnippet(fn)+"\n"
}
2016-11-24 00:16:17 +01:00
}
2017-03-12 23:02:58 +01:00
exports.snippetText = snippetText;
exports.scope = "jsonata";
2016-11-24 00:16:17 +01:00
});