Sha256: 6a50fe1c03a258925af63f9aff0f9353b1877aea2a8de2473c16ce0b7e0f674b

Contents?: true

Size: 717 Bytes

Versions: 5

Compression:

Stored size: 717 Bytes

Contents

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

exports.snippetText = "# Procedure\n\
snippet proc\n\
	procedure ${1?:name}(${2:argument}) {\n\
		${3:// body...}\n\
	}\n\
\n\
# Function\n\
snippet fun\n\
	function ${1?:name}(${2:argument}) {\n\
		return ${3:// body...}\n\
	}\n\
\n\
# Repeat\n\
snippet rep\n\
	repeat ${1?:times} {\n\
		${2:// body...}\n\
	}\n\
\n\
# For\n\
snippet for\n\
	foreach ${1?:e} in ${2?:list} {\n\
		${3:// body...}	\n\
	}\n\
\n\
# If\n\
snippet if\n\
	if (${1?:condition}) {\n\
		${3:// body...}	\n\
	}\n\
\n\
# While\n\
  while (${1?:condition}) {\n\
    ${2:// body...}	\n\
  }\n\
";
exports.scope = "gobstones";

});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ace-rails-ap-4.2 vendor/assets/javascripts/ace/snippets/gobstones.js
ace-rails-ap-4.1.5 vendor/assets/javascripts/ace/snippets/gobstones.js
ace-rails-ap-4.1.4 vendor/assets/javascripts/ace/snippets/gobstones.js
ace-rails-ap-4.1.3 vendor/assets/javascripts/ace/snippets/gobstones.js
ace-rails-ap-4.1.2 vendor/assets/javascripts/ace/snippets/gobstones.js