Coder Social home page Coder Social logo

durandalesri's People

Contributors

anwalkers avatar dgwalton avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

durandalesri's Issues

Arcgis and durandal

Hello, I am trying to include arcgis in a durandal project but the configuration I have does not allow it, could you help me?

My main.js is something like this:

`requirejs.config({
paths: {
"text": "../Scripts/text",
"i18next": "../Scripts/i18next",
"i18n": "../Scripts/require-i18next",
"async": "../Scripts/async",
"durandal": "../Scripts/durandal",
"plugins": "../Scripts/durandal/plugins",
"transitions": "../Scripts/durandal/transitions"
},
i18next: {
ns: "app",
fallbackLng: "es",
detectLngQS: "locale",
lowerCaseLng: true,
useCookie: false,
resGetPath: "lng/ns.json",
supportedLngs: {
es: [
"app"
]
}
}
});

define("jquery", function () { return jQuery; });
define("knockout", ko);
define("gmaps", ["async!https://maps.googleapis.com/maps/api/js?key=key=3.exp&language=es&libraries=drawing,geometry,places"],
function () {
console.log("%cGoogle maps loaded!", "color:green;");
require(["../Scripts/infobox"], function (infobox) {
console.log("%cInfoBox loaded!", "color:green;");
});
return window.google.maps;
});

define([
"bindings/addressBinding", "bindings/barChartBinding", "bindings/compareBinding", "bindings/datetimepickerValueBinding", "bindings/epochAfterBinding",
"bindings/epochFutureBinding", "bindings/epochValueBinding", "bindings/fileStyleBinding", "bindings/fileUploadBinding", "bindings/iCheckBinding",
"bindings/imageHolderBinding", "bindings/lineChartBinding", "bindings/numeralBinding", "bindings/popoverBinding", "bindings/tooltipBinding",
"bindings/typeaheadBinding", "core/authentication/authenticationBroker", "core/authentication/securityContext", "durandal/system", "durandal/viewEngine",
"durandal/app", "durandal/viewLocator", "durandal/binder", "i18n!nls", "core/router"
], function (addressBinding, barChartBinding, compareBinding, datetimepickerValueBinding, epochAfterBinding, epochFutureBinding, epochValueBinding,
fileStyleBinding, fileUploadBinding, iCheckBinding, imageHolderBinding, lineChartBinding, numeralBinding, popoverBinding, tooltipBinding,
typeaheadBinding, authenticationBroker, securityContext, system, viewEngine, app, viewLocator, binder, i18n, router) {...`

My index.html:

<script type="text/javascript" src="~/Scripts/require.js" data-main="/App_Administrator/main"></script><script type="text/javascript" src="//js.arcgis.com/4.11/"></script>

esri js 3.11

Hey, I created the dojo_mod for esri js api 3.11, should I issue a pull request and drop in the scripts folder, or don't bother?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.