Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2807

jQuery.sap.registerModulePath - How does it work?

$
0
0

Hi experts,

 

I would like to use a script from: crypto-js -   JavaScript implementations of standard and secure cryptographic algorithms - Google Project Hosting

 

I found this example File Names and Locations (View and Controller) - User Interface Add-On for SAP NetWeaver - SAP Library

 

My code:

 

jQuery.sap.registerModulePath("googlecode", "http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/");
jQuery.sap.require("googlecode.hmac-sha1");

In the Java Console, I get the message:

 

Uncaught Error: failed to load 'Twitter/controller/Master.controller.js' from ../controller/Master.controller.js: Error: failed to load 'googlecode/hmac-sha1.js' from http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/hmac-sha1.js: 0 - NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/hmac-sha1.js'.

 

even the Javascript can be found:

 

http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/hmac-sha1.js

 

who can help me?

 

KR


Viewing all articles
Browse latest Browse all 2807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>