Title: Uncaught TypeError, fresh install, parse 1.6.9 · Issue #19 · trycom/parse-angular-patch · GitHub
Open Graph Title: Uncaught TypeError, fresh install, parse 1.6.9 · Issue #19 · trycom/parse-angular-patch
X Title: Uncaught TypeError, fresh install, parse 1.6.9 · Issue #19 · trycom/parse-angular-patch
Description: Has anyone gone through this? Is there a fix? I just installed parse-angular-patch from bower. I get the following error in the browser console as soon is the page is loaded: Uncaught TypeError: Cannot read property 'prototype' of undefi...
Open Graph Description: Has anyone gone through this? Is there a fix? I just installed parse-angular-patch from bower. I get the following error in the browser console as soon is the page is loaded: Uncaught TypeError: Ca...
X Description: Has anyone gone through this? Is there a fix? I just installed parse-angular-patch from bower. I get the following error in the browser console as soon is the page is loaded: Uncaught TypeError: Ca...
Opengraph URL: https://github.com/trycom/parse-angular-patch/issues/19
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uncaught TypeError, fresh install, parse 1.6.9","articleBody":"Has anyone gone through this? Is there a fix?\n\nI just installed _parse-angular-patch_ from bower. I get the following error in the browser console as soon is the page is loaded:\n\n```\nUncaught TypeError: Cannot read property 'prototype' of undefined`\n (anonymous function) @ parse-angular.js:66\n (anonymous function) @ parse-angular.js:64\n```\n\nI believe that _'prototype' of undefined_ refers to `Parse[currentClass].prototype[method]`:\n\n```\ncurrentProtoMethods.forEach(function(method) { \u003c\u003c LINE 64\n\n var origMethod = Parse[currentClass].prototype[method]; \u003c\u003c LINE 66\n\n // Overwrite original function by wrapping it with $q\n Parse[currentClass].prototype[method] = function() {\n\n return origMethod.apply(this, arguments)\n .then(function(data) {\n var defer = $q.defer();\n defer.resolve(data);\n return defer.promise;\n }, function(err) {\n var defer = $q.defer();\n defer.reject(err);\n return defer.promise;\n });\n\n };\n\n});\n```\n\nI used _src_ version of parse-angular-patch to get the line number for the error, but it happens on _dist_ version too. This is my configuration... This is also the order that I am importing the scripts in HTML:\n\n```\nparse 1.6.9\nangular 1.4.8\nparse-angular-patch 0.1.2\n```\n","author":{"url":"https://github.com/joaomarceloods","@type":"Person","name":"joaomarceloods"},"datePublished":"2015-12-19T20:56:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/19/parse-angular-patch/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aecef6be-e97c-0fd6-f553-bd62ea2cc987 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A766:10046D:6E79D6F:8F15C98:69758417 |
| html-safe-nonce | ab5caaa3332dc585081d40685b9682869a69ee4750073d832d92bb2e91b23b0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzY2OjEwMDQ2RDo2RTc5RDZGOjhGMTVDOTg6Njk3NTg0MTciLCJ2aXNpdG9yX2lkIjoiMjk2Njk3MTM5NDE5MDMxMjQ3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2368fa60892cdf65edf6870acf01fe3fc79ee81d8f3af33e3a9f6ec0c42f6057 |
| hovercard-subject-tag | issue:123110220 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/trycom/parse-angular-patch/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/06e3374b9367aab9ddc55cc3ce51114d6c6a62cce80949377b6b96933781864a/trycom/parse-angular-patch/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/06e3374b9367aab9ddc55cc3ce51114d6c6a62cce80949377b6b96933781864a/trycom/parse-angular-patch/issues/19 |
| og:image:alt | Has anyone gone through this? Is there a fix? I just installed parse-angular-patch from bower. I get the following error in the browser console as soon is the page is loaded: Uncaught TypeError: Ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joaomarceloods |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/trycom/parse-angular-patch git https://github.com/trycom/parse-angular-patch.git |
| octolytics-dimension-user_id | 2140160 |
| octolytics-dimension-user_login | trycom |
| octolytics-dimension-repository_id | 16567017 |
| octolytics-dimension-repository_nwo | trycom/parse-angular-patch |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16567017 |
| octolytics-dimension-repository_network_root_nwo | trycom/parse-angular-patch |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width