Sha256: f5563b2aa8921492cca4ff653b64dfdb8f20fd5d88d97be661170d5d71030e8f

Contents?: true

Size: 294 Bytes

Versions: 4

Compression:

Stored size: 294 Bytes

Contents

$.Class.extend("MockCommand", 
	{
		key: "mock"
	}, 
	{
		init : function() {	},
		
		execute: function(args, callback) {
			
			var output = StringUtil.empty;
			
			for (var i = 0; i < args.length; i++) {       
				output += args[i].toString();
			}
			
			callback(output);
			
		}
		
	}
);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
koda-0.0.12 public/koda/scripts/specs/doubles/mock-command.js
koda-0.0.11 public/koda/scripts/specs/doubles/mock-command.js
koda-0.0.9 public/koda/scripts/specs/doubles/mock-command.js
koda-0.0.8 public/koda/scripts/specs/doubles/mock-command.js