add unsupported property on unsupported capabilties.

This commit is contained in:
Christopher Jeffrey 2013-02-24 12:49:48 -06:00
parent 5f9df53708
commit c9dc4f2d98
1 changed files with 2 additions and 0 deletions

View File

@ -961,6 +961,8 @@ function noop() {
return ''; return '';
} }
noop.unsupported = true;
function merge(a, b) { function merge(a, b) {
Object.keys(b).forEach(function(key) { Object.keys(b).forEach(function(key) {
a[key] = b[key]; a[key] = b[key];