Last active
June 22, 2017 11:17
-
-
Save StErMi/94a2aa79f2f09bbdc7fbdabb91392c70 to your computer and use it in GitHub Desktop.
QRCode Custom Control library.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
/** | |
* Initialization Code and shared classes of library it.designfuture.qrcode. | |
*/ | |
sap.ui.define([ | |
'jquery.sap.global', | |
'sap/ui/core/library' // library dependency | |
], function(jQuery, library) { | |
"use strict"; | |
/** | |
* Suite controls library. | |
* | |
* @namespace | |
* @name it.designfuture.qrcode | |
* @author Emanuele Ricci <stermi@gmail.com> | |
* @version ${version} | |
* @public | |
*/ | |
// delegate further initialization of this library to the Core | |
sap.ui.getCore().initLibrary({ | |
name : "it.designfuture.qrcode", | |
noLibraryCSS: false, | |
version: "${version}", | |
dependencies : ["sap.ui.core", "sap.m"], | |
types: [], | |
interfaces: [], | |
controls: [ | |
"it.designfuture.qrcode.QRCode" | |
], | |
elements: [] | |
}); | |
return it.designfuture.qrcode; | |
}, /* bExport= */ false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment