Sha256: dd40090c118aa255a8fa646528bca2f65a12374441ea4b0fa3d6db722a9704f2

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

define("ace/snippets/velocity",["require","exports","module"], function(require, exports, module) {
"use strict";

exports.snippetText = "# macro\n\
snippet #macro\n\
	#macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n\
		${3:## macro code}\n\
	#end\n\
# foreach\n\
snippet #foreach\n\
	#foreach ( ${1:\\$item} in ${2:\\$collection} )\n\
		${3:## foreach code}\n\
	#end\n\
# if\n\
snippet #if\n\
	#if ( ${1:true} )\n\
		${0}\n\
	#end\n\
# if ... else\n\
snippet #ife\n\
	#if ( ${1:true} )\n\
		${2}\n\
	#else\n\
		${0}\n\
	#end\n\
#import\n\
snippet #import\n\
	#import ( \"${1:path/to/velocity/format}\" )\n\
# set\n\
snippet #set\n\
	#set ( $${1:var} = ${0} )\n\
";
exports.scope = "velocity";
exports.includeScopes = ["html", "javascript", "css"];

});                (function() {
                    window.require(["ace/snippets/velocity"], function(m) {
                        if (typeof module == "object" && typeof exports == "object" && module) {
                            module.exports = m;
                        }
                    });
                })();
            

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/ace-builds/src/snippets/velocity.js
ace-rails-ap-4.5 vendor/assets/javascripts/ace/snippets/velocity.js
ace-rails-ap-4.4 vendor/assets/javascripts/ace/snippets/velocity.js
bedrock_sass-0.2.2 assets/_vendor/ace/snippets/velocity.js
ace-rails-ap-4.3 vendor/assets/javascripts/ace/snippets/velocity.js
bedrock_sass-0.2.1 assets/_vendor/ace/snippets/velocity.js