New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulling customized stable release #445
Comments
I'm experiencing the same problems. I noticed SugarJS is trying to: |
Its missing common.js. Common.js is the file that contains definitions for date, array etc |
Sorry, this may have been due to a server infrastructure change that hosed me recently. Do you have an exact repro? FYI the Also common.js is only relevant to v1.5.0 which isn't released yet, so that shouldn't be an issue either. |
yes, over here http://sugarjs.com/customize, try pulling core and date and load it in a simple web app. For instance, if your pulled source is named sugar.js <script src="sugar.js"> document.writeln(Date.create("2010-10-10")); </script>when you load it you will see It will be great if you can fix it asap |
Hm... no this is working ok for me as well... |
sugar.js/download seems to work just fine. Its only when i customize that its broken. I have tried it in both IE and Chrome on two different machines (after clearing caches). The fact that another user hit the issue means there is something wrong IMO. Here are the steps:
|
There definitely could be something wrong, but I just can't repro it... @frankhuiskamp Do you also have a similar repro? |
@smurali31 Also maybe can you link or make public the page using the customized build? |
sure. i will link it. can you share min and dev of core+date+date locales? I want to start using it in my project as soon as possible? |
Here is the link to both files |
You can actually do a custom build from within the repo. Basically it's just Also that link is throwing a 500 load error for me... let me try to set something up. |
Does this link work? https://onedrive.live.com/redir?resid=9CCD49A6E3C1ECEE%2113243 |
Here's my example: https://dl.dropboxusercontent.com/u/2389611/Experiments/Sugar/index.html Already I see an issue with the Date locales not being included, but otherwise working correctly. |
Still get the 500 but not sure if it's related... also I just see a file directory and clicking on the html only shows the source. |
you should also see a sugar.js file. This is the file I got when i customized build. |
btw, when i checked out tag 1.4.1, i dont see a create_build.rb file under script. Was this file added in a newer release? All i see is analyzer.rb, build_pluigins.rb, compile.rb, create_release.rb, docs.rb, generate_docs.rb and size.rb. |
Sorry it should be create_release.rb |
Extremely new to ruby... Downloads\Sugar-1.4.1\Sugar-1.4.1>ruby script\create_release.rb core
I tried Downloads\Sugar-1.4.1\Sugar-1.4.1>ruby script\create_release.rb --packages core |
I mean Downloads\Sugar-1.4.1\Sugar-1.4.1>ruby script\create_release.rb --packages=core |
Ok I think I see the issue. I think the precompiled files might be mixed up on the new server... So I need to update the files. Meanwhile I've always been using the save command to save the custom-built code, but this does another GET request and simply gets the default package. This may have changed recently or it may be my mistake... not sure. I'm assuming that you've been copy/pasting the code instead? Anyway this explains the discrepancy in our results. It looks like you're on a Windows system, so For now here are the precompiled files for v1.4.1 until I update: https://dl.dropboxusercontent.com/u/2389611/Experiments/Sugar/precompiled.zip Just wrap them in a closure and you should be good to go. Thanks~ |
Awesome. Thanks so much for your help with this. Works now. Could you please fix the custom page soon? It would be easier to point team mates to the site to pull the bits from there... Also please update this thread so we can start pulling from the custom page. Again, thanks for the extremely quick turnaround on this. Much appreciated. Thanks |
Yup will update asap! |
Ok the customize page should be fixed now... please check it! Thank you. |
Awesome. Works great..thanks a lot closing |
Hi - The website's customize page let's me download only certain components that I am interested in. However, the downloaded files seem to be missing some variables causing the app to crash.
Has anyone used this? FWIW, i tried doing "all" from the customize page and even that is not loadable
The text was updated successfully, but these errors were encountered: