Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

namespace pollution on 'search' variable (1.0rc1) #2574

Closed
pascalchristian opened this issue Sep 30, 2011 · 3 comments
Closed

namespace pollution on 'search' variable (1.0rc1) #2574

pascalchristian opened this issue Sep 30, 2011 · 3 comments
Assignees
Milestone

Comments

@pascalchristian
Copy link

On JQM 1.0rc1, every change page seems to overwrite the 'search' global variable into an empty string (""). This does not occur on beta 3.

To recreate this issue:

  1. Open http://jquerymobile.com/demos/1.0rc1/
  2. Open console and declare two variables:
    var search = "this is search";
    var not_search = "this is not search";
  3. Click on any link
    type search: return ""
    type not_search: return "this is not search"
@ghost ghost assigned jblas Sep 30, 2011
@jblas
Copy link
Contributor

jblas commented Sep 30, 2011

@pascalchristian

Thanks for catching that ... there was a typo ';' instead of a ',' in one of our var delcarations.

@jblas jblas closed this as completed in bafc187 Sep 30, 2011
@MauriceG
Copy link
Contributor

@jblas

Chapeau !!

@pascalchristian
Copy link
Author

thanks for the quick fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants