FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Jsonp error `Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined` after https://github.com/angular/angular/pull/13219 · Issue #14267 · angular/angular · GitHub

Jsonp error Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined after https://github.com/angular/angular/pull/13219 #14267

Description

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

hello, after upgrade to 2.4.6, I get Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined as #13219 (comment)

Plunkr
http://plnkr.co/edit/WcRnPrJHa04rJy3xTIky?p=preview

And my code is

search(key: string) {
  const params = new URLSearchParams()
  params.set('key', key)
  params.set('jsonpCallback', 'JSONP_CALLBACK')
  return this.jsonp.get('https://c.y.qq.com/splcloud/fcgi-bin/smartbox_new.fcg?' + params)
  .toPromise()
  .then(res => {
    console.log(res)
    return []
  })
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL