Commit 7e45c4dd authored by lujinlei's avatar lujinlei

-a

parent 1b305156
This diff is collapsed.
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
function injectProps(p) { function injectProps(p) {
engine.injectProp(props, p); engine.injectProp(props, p);
} }
//# sourceMappingURL=props.js.map
var GameView = (function (_super) { var GameView = (function (_super) {
tslib.__extends(GameView, _super); tslib.__extends(GameView, _super);
...@@ -174,7 +173,7 @@ ...@@ -174,7 +173,7 @@
}; };
GameView.prototype.getPrizeUrl = function (pid) { GameView.prototype.getPrizeUrl = function (pid) {
var purl = ""; var purl = "";
for (var i = 0; i < 3; i++) { for (var i = 0; i < this.prizes.length; i++) {
if (this.prizes[i].prizeId == pid) { if (this.prizes[i].prizeId == pid) {
return this.prizes[i].icon; return this.prizes[i].icon;
} }
...@@ -199,7 +198,6 @@ ...@@ -199,7 +198,6 @@
}; };
return GameView; return GameView;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GameView.js.map
var GameWrapper = (function (_super) { var GameWrapper = (function (_super) {
tslib.__extends(GameWrapper, _super); tslib.__extends(GameWrapper, _super);
...@@ -243,7 +241,6 @@ ...@@ -243,7 +241,6 @@
}; };
return GameWrapper; return GameWrapper;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GameWrapper.js.map
function index (props) { function index (props) {
prepareProps(); prepareProps();
...@@ -251,7 +248,6 @@ ...@@ -251,7 +248,6 @@
var instance = new GameWrapper(); var instance = new GameWrapper();
return instance; return instance;
} }
//# sourceMappingURL=index.js.map
return index; return index;
......
This diff is collapsed.
...@@ -319,7 +319,7 @@ export default class GameView extends engine.Container { ...@@ -319,7 +319,7 @@ export default class GameView extends engine.Container {
private getPrizeUrl(pid: string): string { private getPrizeUrl(pid: string): string {
let purl = ""; let purl = "";
for (let i = 0; i < 3; i++) { for (let i = 0; i < this.prizes.length; i++) {
if (this.prizes[i].prizeId == pid) { if (this.prizes[i].prizeId == pid) {
return this.prizes[i].icon; return this.prizes[i].icon;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment