Re: Dojo-interest Digest, Vol 137, Issue 6

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Dojo-interest Digest, Vol 137, Issue 6

s.mathirajan


Sent from my BlackBerry 10 smartphone.
  Original Message  
From: [hidden email]
Sent: புதன், 11 மே, 2016 21:30
To: [hidden email]
Reply To: [hidden email]
Subject: Dojo-interest Digest, Vol 137, Issue 6

Send Dojo-interest mailing list submissions to
[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
or, via email, send a message with subject or body 'help' to
[hidden email]

You can reach the person managing the list at
[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dojo-interest digest..."


Today's Topics:

1. Calling functions between dijits (Andrew Davis)


----------------------------------------------------------------------

Message: 1
Date: Wed, 11 May 2016 06:50:19 -0500
From: Andrew Davis <[hidden email]>
Subject: [Dojo-interest] Calling functions between dijits
To: [hidden email]
Message-ID:
<CAEGPDCzfqM7e7BAo+DgNEBY=V_M0zP5dbhb545J-mys=[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hello,

I'm trying to call a function from inside one digit to another digit.

I've been able to do this before like so.. ('extras') is a folder at the
root of my project.

<script>
var dojoConfig = {
async: true,
packages: [{
name: "extras", //if you see this in the solution explorer
(VisualStudio) it is the
//folder named 'geocoders'
//this regex type expression takes you directly to the location
'relative path'
location: location.pathname.replace(/\/[^/]*$/, '') + '/extras'
}]
};
</script>

However, when I try to do this inside a different project where the folder
containing the .js file I want to work with is down several levels..
(project), 'js/gis/dijit' I am unable to get the reference.


Shouldn't the variable I have above be able to be redirected to the 'dijit'
folder I have in the second project?


Andy..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20160511/f02c0780/attachment.html

------------------------------

________________
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest



End of Dojo-interest Digest, Vol 137, Issue 6
*********************************************
--
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

[hidden email]
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest