(Base)
| 15054 | } |
| 15055 | |
| 15056 | function generateHolderType(Base) { |
| 15057 | var holderType = function TrustedValueHolderType(trustedValue) { |
| 15058 | this.$$unwrapTrustedValue = function() { |
| 15059 | return trustedValue; |
| 15060 | }; |
| 15061 | }; |
| 15062 | if (Base) { |
| 15063 | holderType.prototype = new Base(); |
| 15064 | } |
| 15065 | holderType.prototype.valueOf = function sceValueOf() { |
| 15066 | return this.$$unwrapTrustedValue(); |
| 15067 | }; |
| 15068 | holderType.prototype.toString = function sceToString() { |
| 15069 | return this.$$unwrapTrustedValue().toString(); |
| 15070 | }; |
| 15071 | return holderType; |
| 15072 | } |
| 15073 | |
| 15074 | var trustedValueHolderBase = generateHolderType(), |
| 15075 | byType = {}; |
no outgoing calls
no test coverage detected