Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tim Branyen
    @tbranyen
    Yeah probably, since they'd need a loader for that, and the loader is still straw-man proposal
    Jamund Ferguson
    @xjamundx
    NPM doesn't seem to have any problem going off and doing their own thing though :-p
    Lex Robinson
    @Lexicality
    holla
    Can this be used to one shot deamdify a bunch of files? IE: write the files back to disk
    oh I just noticed the last message was from april. I take it this room is dead
    Tim Branyen
    @tbranyen
    @Lexicality why would you think the room is dead?
    Who cares when the last message was?
    It's not designed to do a 1:1 transformation, but with a plugin or bash script you could do it
    it's meant to do an n:1 transformation bundle everything into a single file
    Lex Robinson
    @Lexicality
    ah
    I'll have a fiddle around, thanks
    Alberto González Pérez
    @albertogonper
    This message was deleted
    Alberto González Pérez
    @albertogonper
    Hello,
    I'm having some problems with this code using deamdify: jsBin. On gulp I'm getting this error: alt Can this be related to the plugin #27 issue? I'm sorry the code comes from a library so it can be a bit hard to read. Thanks
    Tim Branyen
    @tbranyen
    Not sure, not enough information in that screenshot unfortunately
    Alberto González Pérez
    @albertogonper
    It's a fragment from the ArcGIS Javascript library ArcGIS API Which is based on Dojo and uses RequireJS for the dependencies. What kind of info do you need? Module calls? Gulp task? Thanks for helping
    Phillip Green II
    @phillipgreenii
    @albertogonper What are you trying to do? I can say that I have spent way too much time trying to get ArcGIS API to play nicely with browserify. To your point, the problems I have seen are related to #27. However, based on your stack trace, I couldn't say for sure what the problem is. Since the javascript files from Esri are uglified, it makes debugging stacktraces difficult.
    Alberto González Pérez
    @albertogonper
    Well my idea was to create the application modules in CommonJS and use ArcGIS dependencies on them, like I do using RequireJS in other apps. Do you have any working example that you can show me to see how to use ArcGIS with CommonJS? Thank you very much for your help
    Richard Tibbles
    @rtibbles
    Any word on when the latest code is going to be pushed to npm? Says it was last published 2 years ago, but the code is much fresher on github.
    Tim Branyen
    @tbranyen
    @rtibbles I could push some of it, but there are some bugs that are pretty critical I'd like to see fixed before publishing
    Doguhan Uluca
    @duluca
    Hey, I'm new to deamdify, I tried running browserify -t deamdify public/js/main.js -o bundle-deamdify.js and it didn't attempt to require the components mentioned in main.js, but rather just copied and pasted its' contents to the output file, any idea what I maybe doing wrong?
    Doguhan Uluca
    @duluca
    My main.js requires some other files that are a part of my app, looking at this http://webpack.github.io/docs/comparison.html, it seems that deamdify doesn't support AMD require? Is there way to deamdify a multi file app?
    Richard Tibbles
    @rtibbles
    @tbranyen Yeah, I noticed when I tried using the code direct from the repo. I only needed the bug fix to prevent it trying to parse non .js files, so I just made a local version and edited it there. Thanks for creating the plugin! If there are any open issues that you could direct me to that would help get the github version working, point me to them, I'd be happy to give a little time to fix them.
    DavidWiebe
    @DavidWiebe
    Has anyone here tried to deamdify dojo code? This line is failing for me: define(["./_base/kernel", "require", "./has", "./has!host-browser?./request"], function(dojo, require, has, request){
    The ./has!host-browser?./request is giving me a cannot find module error.
    Tim Branyen
    @tbranyen
    I've heard of a lot of issues with dojo
    especially with esri maps
    I don't understand why unless Dojo is doing non-standard behaviors
    Cole Diffin
    @arcticShadow
    Hey @tbranyen I'm just working through the history for this module - seems to have had an interesting turn of events. Great job on getting the original source alive agian.
    I had a couple of questions, one was around UMD support - With the PR that was merged a while back - does it actually work as advertised? And is there a scheduled release any time soon?
    Tim Branyen
    @tbranyen
    @arcticShadow at this point, i'm not entirely sure. i'd love to get deamdify in much better shape, i just haven't had time yet
    I've also been using ES6 / Babelify, but I'm not really happy with that decision, so I might be switching back to AMD
    If that's the case, I'll definitely be putting more work into deamdify
    Cole Diffin
    @arcticShadow
    Is there anything inherently wrong that would stop a release from being made at this time? My company is looking at possibly picking this up to use, there is a chance that we could contribute back if required for our use cases, however would need the module to actually be released to npm...
    Tim Branyen
    @tbranyen
    it is released on npm
    you could also point your package.json directly to 'jaredhanson/deamdify' to get the master release
    Cole Diffin
    @arcticShadow
    Sorry - I meant could the recently merged changes be published at the moment. the latest release on NPM is over 2 years old.
    If it can be avoided I want to not pull from github master - could end up with some suprises down the line.
    Tim Branyen
    @tbranyen
    I see, I can look into it later for sure. I don't remember why we haven't published anything new yet.
    Cole Diffin
    @arcticShadow
    Thanks!
    Kenzie Togami
    @kenzierocks
    hi
    i was wondering if anyone has ever used deamdify on jquery-ui
    I tried it, but it still spit out a define(['jquery'], factory) call
    Khalil Stemmler
    @stemmlerjs
    howdy
    jacobus-brogly
    @jacobus-brogly
    good day
    jacobus-brogly
    @jacobus-brogly
    hello
    its still not clear to me how to integratte AMD with COmmonJS
    right now I use a dynamic loader called "dojorequire"
         dojoRequire([
                        'esri/layers/FeatureLayer',
                        'esri/tasks/Locator',
                        'esri/Map',
                        'esri/views/MapView',
                        'esri/layers/VectorTileLayer',
                        'esri/widgets/Search',
                        'esri/renderers/SimpleRenderer',
                        'esri/symbols/SimpleMarkerSymbol',
                        'esri/core/Collection',
                        'esri/geometry/Point',
                        "esri/symbols/TextSymbol",
                        "esri/renderers/UniqueValueRenderer",
                        "esri/symbols/PictureMarkerSymbol",
                        "dojo/domReady!"
                    ])
    for loading the modules
    mcpherson-sa
    @mcpherson-sa
    HI,
    mcpherson-sa
    @mcpherson-sa
    I tried to deamdify a script using a command line of the form browserify -t deamdify app.js -o bundle.js (as per the documentation) where app.js imports jquery and jquery-ui (which is AMD). I found that only the code app.js was getting processed by deamdify (I could tell by the change in indentation). To get deamdify to process the dependencies I needed to use a global transform i.e. browserify -g deamdify app.js -o bundle.js. Is this how it is supposed to work? Ideally I like a way to just just apply deamdify to modules that need it and leave the others untouched.