docs: function done(code) {
  		// calculate shasum and cache info
  		var shasum = crypto.createHash('sha1');
  		shasum.update(code);
  		self._shasums[scriptName] = shasum.digest('hex');
  		self._scripts[scriptName] = code;
  		self._files[fileName] = code;
  
  		// make dublicate entries for both script and script.lua
  		if (path.extname(scriptName) === ext) {
  			var alt = scriptName.substr(0, scriptName.length - ext.length);
  			self._shasums[alt] = self._shasums[scriptName]
  			self._scripts[alt] = self._scripts[scriptName]
  			self._keys[alt] = self._keys[scriptName]
  		}
  
  		delete self._resolving[fileName];
  		callback(null, code);
  	}