Sha256: 1ac2021b4bfe22d54b64cfd477c358d5ba73e3cf9861646a547a914dd60e23f7

Contents?: true

Size: 762 Bytes

Versions: 99

Compression:

Stored size: 762 Bytes

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"];

});

Version data entries

99 entries across 99 versions & 3 rubygems

Version Path
optimacms-0.1.61 spec/dummy/public/js/ace/src/snippets/velocity.js
ace-rails-ap-4.2 vendor/assets/javascripts/ace/snippets/velocity.js
ace-rails-ap-4.1.5 vendor/assets/javascripts/ace/snippets/velocity.js
ace-rails-ap-4.1.4 vendor/assets/javascripts/ace/snippets/velocity.js
ace-rails-ap-4.1.3 vendor/assets/javascripts/ace/snippets/velocity.js
optimacms-0.3.9 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.3.8 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.3.7 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.3.6 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.3.5 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.3.2 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.3.1 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.2.23 spec/dummy/public/js/ace/src/snippets/velocity.js
ace-rails-ap-4.1.2 vendor/assets/javascripts/ace/snippets/velocity.js
optimacms-0.2.22 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.2.21 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.2.20 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.2.19 spec/dummy/public/js/ace/src/snippets/velocity.js
optimacms-0.2.18 spec/dummy/public/js/ace/src/snippets/velocity.js
ace-rails-ap-4.1.1 vendor/assets/javascripts/ace/snippets/velocity.js