Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8583597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:34:32+00:00 2026-06-11T21:34:32+00:00

I am building a large app using the Google Closure Library. I am getting

  • 0

I am building a large app using the Google Closure Library. I am getting data from a MongoDB-PHP environment via JSONP. Request go through a load balancing test which determines the most suitable server to get the data from, then returns the corresponding JSON data.

The problem is when I build the application with the closure builder, the parameters of the JSONP.send method modify, so instead of sending what I should send, I am sending random parameters. How can I force the compiler to keep those object property names as I wrote them, without making any changes? thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:34:33+00:00Added an answer on June 11, 2026 at 9:34 pm

    Assuming you are using ADVANCED optimizations, you are running into problems with property renaming. You can read about it here:

    https://developers.google.com/closure/compiler/docs/api-tutorial3

    The easiest thing to do is use SIMPLE optimizations, otherwise you need to build the parameters with quoted properties:

    var params = { 'aParam': 1 };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building an app to serve large amounts of data via REST API and
I'm tasked with building a large eCommerce site for a retailer. We are using
I am building a library with a large body of source code for Android.
I'm an intermediate PHP developer with no experience building a large scale web application
I'm building an Android app that resizes based on the screen size using different
I am building my first iPhone/Obj-c app and I have a large amount of
I am building an Facebook IFrame App. I am using the below javascript code
I am building a web App with mongoDB as the backend. Some of the
I have one C code app. which i was building using MS-VS2005. I had
I'm building an iOS app with PhoneGap. I'm using translate3d CSS animations to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.