Example #1
0
	self.bundle = function() {
		if(!(files instanceof Array)) {
			files = [files];
		}
		var content = [];
		
		var i, file, code;
		for(i in files) {
			file = files[i];
			code = self._genTemplateCode(file);
			if(code) {
				content.push(code);
			}
		}
		
		return content.join('\n');
	}