File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change 22 * The OpenScript Namespace
33 * @namespace {OpenScript }
44 */
5- var OpenScript = {
5+ let OpenScript = {
66 /**
77 * Used to Run Classes upon creation
88 */
@@ -96,22 +96,6 @@ var OpenScript = {
9696 */
9797 path = "" ;
9898
99- /**
100- * Create a route action
101- */
102- RouteAction = class RouteAction {
103- action ;
104- name ;
105-
106- middleware = ( ) => true ;
107-
108- children = new Map ( ) ;
109-
110- run ( ) {
111- return this . action ( ) ;
112- }
113- } ;
114-
11599 /**
116100 * Default Action
117101 * @type {function }
@@ -537,8 +521,6 @@ var OpenScript = {
537521 return this . router ;
538522 }
539523 } ;
540-
541- GroupedRoute = class GroupedRoute { } ;
542524 } ,
543525
544526 /**
@@ -2429,7 +2411,7 @@ var OpenScript = {
24292411 * Refreshes the whole context
24302412 */
24312413 refresh ( ) {
2432- this . map . clear ;
2414+ this . map . clear ( ) ;
24332415 }
24342416 } ,
24352417
You can’t perform that action at this time.
0 commit comments