Commit 2088bbd0 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Corrige problemas de sintaxis y compilación

parent 6a52bc3e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -170,7 +170,8 @@ function exposeContents(app, directoryName) {
	};

	var exposedPath = path.join(__dirname, '..', directoryName),
		servedPath = express.static(exposedPath, pathOptions);
		staticPropName = 'static',
		servedPath = express[staticPropName](exposedPath, pathOptions);

	app.use(servedPath)
		.use('/' + directoryName, servedPath);
+1 −0
Original line number Diff line number Diff line
@@ -999,6 +999,7 @@ define([
		_deleteDuplicatedChannels: function(configArray) {

			configArray = Utilities.uniqBy(configArray, lang.hitch(this, this._isChannelDuplicated));
			return configArray;
		},

		_isChannelDuplicated: function(value, index, array) {
+5 −5
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ define([
		_chkModuleCanShow: function(req) {

			var node = req ? req.node : null,
				data = req ? req.data : null;
				reqData = req ? req.data : null;

			var chkData = function(data) {
				if (data) {
@@ -320,7 +320,7 @@ define([
					if (!this._getShown()) {
						return true;
					} else {
						return chkData(data);
						return chkData(reqData);
					}
				}
			} else {
@@ -328,7 +328,7 @@ define([
					if (!this._getShown()) {
						return true;
					} else {
						return chkData(data);
						return chkData(reqData);
					}
				}
			}
@@ -440,10 +440,10 @@ define([
				this.node.firstChild.removeEventListener('animationend',
					this._afterAnimationCallback);
			}
			this._afterAnimationCallback = lang.hitch(this, function(dfd) {
			this._afterAnimationCallback = lang.hitch(this, function(nestedDfd) {

				clearTimeout(this._animationSafetyHandler);
				dfd.resolve();
				nestedDfd.resolve();
			}, dfd);

			// Seguro para cuando la animación es nula