I try to load an external JavaScript library like jQuery mobile to my IBM Notes Database. When i add this library i run i to the known amd loader problem.
I found an article that says when i add
xsp.client.script.dojo.djConfig="dojo-amd-factory-scan": false
to the xps.properties, this will fix this problem but for me it does not work.
Is there anythink else is miss?
Here is the article
http://xomino.com/2013/05/14/xpages-nd9-dojo-1-8-does-not-work-with-other-amd-loaders-and-the-work-around/
[UPDATE]
Using the Extension Library is not a solution
jQuery is part of the latest Extension Library release on OpenNTF. That's the best practice method for including jQuery.
This solution works for me. hasselba.ch/blog/?p=1216
Related
I'm working on a project with ArcGIS/ESRI in WebStorm. According to the documentation, "Dojo is included with the ArcGIS JavaScript API so there is no need to host/reference/install it." This means WebStorm has no idea what require is:
How do I add support without installing Dojo/require?
Was just going to comment, but can't yet?! Anyway, I had to reengineer my web-site dev-ops to account for the ESRI javascript API. I am using 4.6 though...
The API, which includes dojo, may be installed, but it has to be configured into your site. Once you reference dojo/dojo.js, all will be good. But you need the config set-up first.
Start here:
https://blogs.esri.com/esri/arcgis/2015/11/13/using-bower-for-custom-builds-of-arcgis-api-for-javascript/
https://blogs.esri.com/esri/arcgis/2015/11/13/using-bower-for-custom-builds-of-arcgis-api-for-javascript/
There is a link to the API javascript resources. This will really help understand the process!
https://github.com/Esri/jsapi-resources
Also don't miss:
https://dojotoolkit.org/documentation/tutorials/1.10/modules_advanced/
https://dojotoolkit.org/documentation/tutorials/1.10/dojo_config/
http://dojotoolkit.org/documentation/tutorials/1.10/build/
I am just getting this stuff "almost" working. And actually had a build question to post and saw this. Hope it helps. I was using AMD and thought I had to go the requirejs route, but the dojo stuff worked out better for me. Check them both out and see what works for you! Good Luck!
is there a way to download the here maps JS api 3.x to provide code completion in my IDE (like PHPStorm)?
I didn't find anything in the documentation.
Regards, Kristian
My knowledge of PHPStorm is limited, but are you able to use the javascript files by downloading them using the direct urls ?
Although you will run into issues when there are updates in the javascript file.
Mobile First supports any javascript Framework like DOJO/Sencha/jQuery/AngularJS. So is it possible to build new maximo anywhere app also through any above mentioned JS Framework?
The answer is Yes. The mentioned frameworks are frontend/client-side frameworks and as such have no relation to the functionality that MobileFirst and/or Maximo provide you with. They relate to how the app looks, not what the app does.
Yes but, please understand you could have to rewrite some of the ANT scripts used to build the apps. I haven't attempted this yet, and would love to hear your feedback as to what you find. I'm not a fan of dojo and would like an alternative like ionic too!
How would I install support for dojo into Aptana?
Basically I want to have auto completion working for dojo. Is there a way to do it?
The process has changed. Instead, you drop a library API file into your project:
http://wiki.appcelerator.org/display/tis/Using+JavaScript+Libraries
You do drop a library API file in your project as described in the link Ingo Muschenetz provided. However, no plugin that I have found currently FULLY supports Dojo content assist or auto completion. As in dojo.byId or dijit.byId are not supported through Aptana.
Here is the updated link to install Dojo support for Aptana:
http://docs.appcelerator.com/titanium/latest/#!/guide/JavaScript_Library_Support
Just follow the instructions under Dojo.
Nowadays, I'm working on an iPhone project that is using social connections such as Twitter, Facebook..
When I tried to implement Twitter+OAuth solution into my project some another parts of project such as MySpace is giving error on oAuth implementation. It seems MySpace IOS SDK used old version of oAuthConsumer project.
So, I haven't find libOAuth.a source code. If I find it I will be handle my problem.
How do I find the libOAuth.a static library source ?
try downloading it from https://github.com/bengottlieb/Twitter-OAuth-iPhone/blob/master/Twitter+OAuth/Libraries%20&%20Headers/libOAuth.a?raw=true
Isn't this what you're looking for? And not only do you have to include it into the project but also make sure you copy into it. Then under Build Phases, you will have to add this to Link Binary to Libraries section.
You might find Google's new OAuth 2 library for Mac and iOS to be helpful.