mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-30 05:05:43 +00:00
Add .xsjs and .xsjslib as JavaScript file extension
.xsjs and .xsjslib is used to denote server-side JavaScript files in SAP HANA XS
This commit is contained in:
9
samples/JavaScript/helloHanaMath.xsjslib
Normal file
9
samples/JavaScript/helloHanaMath.xsjslib
Normal file
@@ -0,0 +1,9 @@
|
||||
/* simple hana xs demo library, which can be used by multiple endpoints */
|
||||
|
||||
function multiply(x, y) {
|
||||
return x * y;
|
||||
}
|
||||
|
||||
function add(x, y) {
|
||||
return x + y;
|
||||
}
|
||||
Reference in New Issue
Block a user