-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
api/api-javascript/api-core/src/main/resources/core/console.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
var console = require('core/v3/console'); | ||
for(var propertyName in console) { | ||
exports[propertyName] = console[propertyName]; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/api-javascript/api-core/src/main/resources/core/context.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
var context = require('core/v3/context'); | ||
for(var propertyName in context) { | ||
exports[propertyName] = context[propertyName]; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/api-javascript/api-core/src/main/resources/core/env.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
var env = require('core/v3/env'); | ||
for(var propertyName in env) { | ||
exports[propertyName] = env[propertyName]; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/api-javascript/api-core/src/main/resources/core/extensions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
var extensions = require('core/v3/extensions'); | ||
for(var propertyName in extensions) { | ||
exports[propertyName] = extensions[propertyName]; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/api-javascript/api-core/src/main/resources/core/globals.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
var globals = require('core/v3/globals'); | ||
for(var propertyName in globals) { | ||
exports[propertyName] = globals[propertyName]; | ||
} |
14 changes: 14 additions & 0 deletions
14
api/api-javascript/api-core/src/main/resources/core/java.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
var java = require('core/v3/java'); | ||
for(var propertyName in java) { | ||
exports[propertyName] = java[propertyName]; | ||
} |
40 changes: 40 additions & 0 deletions
40
api/api-javascript/api-core/src/main/resources/core/modules.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright (c) 2017 SAP and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* Contributors: | ||
* SAP - initial API and implementation | ||
*/ | ||
|
||
exports.getConsole = function() { | ||
var console = require('core/v3/console'); | ||
return console; | ||
}; | ||
|
||
exports.getContext = function() { | ||
var context = require('core/v3/context'); | ||
return context; | ||
}; | ||
|
||
exports.getEnv = function() { | ||
var env = require('core/v3/env'); | ||
return env; | ||
}; | ||
|
||
exports.getExtensions = function() { | ||
var extensions = require('core/v3/extensions'); | ||
return extensions; | ||
}; | ||
|
||
exports.getGlobals = function() { | ||
var globals = require('core/v3/globals'); | ||
return globals; | ||
}; | ||
|
||
exports.getJava = function() { | ||
var java = require('core/v3/java'); | ||
return java; | ||
}; | ||
|