Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.submitted = true;
this.messages.push(this.message);
};
Object.defineProperty(ContactComponent.prototype, "diagnostic", {
// TODO: Remove this when we're done
get: function () { return JSON.stringify(this.message); },
enumerable: true,
configurable: true
});
ContactComponent = __decorate([
core_1.Component({
moduleId: module.id,
selector: 'contact-us',
templateUrl: 'contact.component.html',
styleUrls: ['contact.component.css'],
directives: [button_1.MD_BUTTON_DIRECTIVES, card_1.MD_CARD_DIRECTIVES, icon_1.MD_ICON_DIRECTIVES, input_1.MD_INPUT_DIRECTIVES]
}),
__metadata('design:paramtypes', [angularfire2_1.AngularFire])
], ContactComponent);
return ContactComponent;
}());
exports.ContactComponent = ContactComponent;
});
}
});
};
StockEditComponent.prototype.cancel = function () {
};
StockEditComponent.prototype.save = function (newName) {
this.stockService.updategetStockExchange(this.stockFirebaesObject, { name: newName });
};
StockEditComponent = __decorate([
core_1.Component({
moduleId: module.id,
selector: 'stock-edit',
templateUrl: 'stock-edit.component.html',
styleUrls: ['stock-edit.component.css'],
directives: [button_1.MD_BUTTON_DIRECTIVES, input_1.MD_INPUT_DIRECTIVES, icon_1.MdIcon]
}),
__metadata('design:paramtypes', [stock_service_1.StockService, router_1.ActivatedRoute, platform_browser_1.Title])
], StockEditComponent);
return StockEditComponent;
}());
exports.StockEditComponent = StockEditComponent;