(context)
| 395 | } |
| 396 | |
| 397 | #getElementScope(context) { |
| 398 | var elt = context.meta && context.meta.owner; |
| 399 | if (elt) { |
| 400 | var internalData = this.getInternalData(elt); |
| 401 | var scopeName = "elementScope"; |
| 402 | if (context.meta.feature && context.meta.feature.behavior) { |
| 403 | scopeName = context.meta.feature.behavior + "Scope"; |
| 404 | } |
| 405 | var elementScope = internalData[scopeName]; |
| 406 | if (!elementScope) { |
| 407 | elementScope = {}; |
| 408 | internalData[scopeName] = elementScope; |
| 409 | } |
| 410 | return elementScope; |
| 411 | } else { |
| 412 | return {}; |
| 413 | } |
| 414 | } |
| 415 | |
| 416 | #flatGet(root, property, getter) { |
| 417 | if (root != null) { |
no test coverage detected