SB-6.1-PRE
This commit is contained in:
1 parent
690169a409
commit
358a25f522
3760 files changed
+300059
-36
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
define(["require", "exports", "../constants/metadata_keys"], function (require, exports, METADATA_KEY) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Metadata = (function () {
|
||||
function Metadata(key, value) {
|
||||
this.key = key;
|
||||
this.value = value;
|
||||
}
|
||||
Metadata.prototype.toString = function () {
|
||||
if (this.key === METADATA_KEY.NAMED_TAG) {
|
||||
return "named: " + this.value.toString() + " ";
|
||||
}
|
||||
else {
|
||||
return "tagged: { key:" + this.key.toString() + ", value: " + this.value + " }";
|
||||
}
|
||||
};
|
||||
return Metadata;
|
||||
}());
|
||||
exports.Metadata = Metadata;
|
||||
});
|
||||
Reference in new issue
Block a user