Skip to content
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

Feature: add source map for easier debugging #749

Merged
merged 1 commit into from
Dec 4, 2018

Conversation

asfaltboy
Copy link
Contributor

I found that having source map file (.map) makes it way easier to debug errors raised from QueryBuilder when using the minified version of the release. This PR simply uses the sourceMap option of uglify to generate the source map files in the dist/ directory which can then be used by developers if they wish to.


Merge request checklist

  • I read the guidelines for contributing
  • I created my branch from dev and I am issuing the PR to dev
  • I didn't pushed the dist directory
  • Unit tests are OK
  • If it's a new feature, I added the necessary unit tests
  • If it's a new language, I filled the __locale and __author fields

@asfaltboy
Copy link
Contributor Author

The change definitely shouldn't cause the failed tests in CI, the same failures are on the dev branch since this commit, not sure what can I do to help, not really familiar with node.js or qunit :(

@mistic100
Copy link
Owner

Yes I know, I spent hours trying to find why the tests are failing on Travis only, still no clue, it looks like a very odd behaviour of some prebuilt versions of PhantomJS

@asfaltboy
Copy link
Contributor Author

Fwiw I checked the project repo the other day and ran tests with gulp test and had the same issue.

Is there an easy way to debug the failure? Like launch an interactive debugger on file test? Seems to do something with jQuery..

@mistic100 mistic100 merged commit 6735710 into mistic100:dev Dec 4, 2018
@mistic100
Copy link
Owner

I don't know. You got further than me : no error on Windows nor on Fedora.

bagulho pushed a commit to bagulho/jQuery-QueryBuilder that referenced this pull request Jun 24, 2020
* dev:
  possibility to define a dynamic field
  Swedish translations (mistic100#865)
  Hungarian translation (mistic100#862)
  Remove travis
  Updated italian translation (mistic100#837)
  Slovak translation (mistic100#830)
  Add Github CI
  Russian translation typos (mistic100#820)
  Added missing Russian strings in main translation (Translation by Hubbitus)
  Updated Russian translation (Translation by Hubbitus)
  Added Lithuanian translation (mistic100#766)
  Support different placeholders for each input when nb_inputs > 1 (mistic100#764)
  Added swahili translation (mistic100#754)
  feat: add source map for easier debugging (mistic100#749)
  chg: [plugin:chosen] avoid creating useless chosen widget (mistic100#743)
  Make some methods visible in the doc (mistic100#696 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants