This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var InputField = /** @class */ (function (_super) { | |
__extends(InputField, _super); | |
function InputField(value) { | |
var _this = this; | |
var content = "<input type=\"text\" value=\"" + value + "\" />"; | |
_this = _super.call(this, content) || this; | |
return _this; | |
} | |
return InputField; | |
}(Component)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InputField extends Component { | |
constructor(value: string) { | |
const content = `<input type="text" value="${value}" />`; | |
super(content); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Component { | |
content: string; | |
constructor(content: string) { | |
this.content = content; | |
} | |
render() { | |
console.log(this.content) | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Component { | |
constructor(content) { | |
this.content = content; | |
} | |
render() { | |
console.log(this.content) | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var InputField = function (_Component) { | |
_inherits(InputField, _Component); | |
function InputField(value) { | |
_classCallCheck(this, InputField); | |
var content = '<input type="text" value="' + value + '" />'; | |
return _possibleConstructorReturn(this, (InputField.__proto__ || Object.getPrototypeOf(InputField)).call(this, content)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InputField extends Component { | |
constructor(value) { | |
const content = `<input type="text" value="${value}" />`; | |
super(content); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Component = function () { | |
function Component(content) { | |
_classCallCheck(this, Component); | |
this.content = content; | |
} | |
_createClass(Component, [{ | |
key: 'render', | |
value: function render() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Component { | |
constructor(content) { | |
this.content = content; | |
} | |
render() { | |
console.log(this.content) | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(a.repeat(2)); // SessionStackSessionStack | |
console.log(a.toLowerCase()); // sessionstack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const name = "SessionStack"; |
NewerOlder