'use babel';

import {add as addToRegistry} from '../registry';
import {ScopeDesc} from '../desc-classes';

const scopes = [
    new ScopeDesc({
        name: 'application',
        description: ''
    }),
    new ScopeDesc({
        name: 'page',
        description: ''
    }),
    new ScopeDesc({
        name: 'request',
        description: ''
    }),
    new ScopeDesc({
        name: 'session',
        description: ''
    }),
];

export function register() {
    scopes.forEach(element => addToRegistry({element}));
}

@@ -171,40 +171,16 @@
 n',%0A
-        description: ''%0A
     %7D),%0A
     
@@ -167,32 +167,32 @@
 ation',%0A    %7D),%0A
+
     new ScopeDes
@@ -221,32 +221,8 @@
 e',%0A
-        description: ''%0A
     
@@ -274,32 +274,8 @@
 t',%0A
-        description: ''%0A
     
@@ -290,32 +290,32 @@
 new ScopeDesc(%7B%0A
+
         name: 's
@@ -327,32 +327,8 @@
 n',%0A
-        description: ''%0A
     

Remove empty scope descriptions