Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Application doesn't start with batarang 0.3 enabled #37

Closed
abtris opened this Issue Nov 15, 2012 · 18 comments

Comments

Projects
None yet

abtris commented Nov 15, 2012

I have strange errors in console (not if batarang disabled)

RangeError
 jak.js:92
JAK.C._log jak.js:92
(anonymous function) jak.js:92
(anonymous function) angular.js:5563
(anonymous function) angular.js:4661
Scope.$digest angular.js:7712
Scope.$apply angular.js:7894
$delegate.__proto__.$apply add-course (1):454
(anonymous function) angular.js:930
invoke angular.js:2788
bootstrap angular.js:928
angularInit angular.js:904
(anonymous function) angular.js:14397
n jquery.js:2
o.fireWith jquery.js:2
e.extend.ready jquery.js:2
c.addEventListener.B

and

TypeError: Accessing selectionDirection on an input element that cannot have a selection.
    at derez (http://edu.lmc.cz/add-course:95:41)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30)
    at derez (http://edu.lmc.cz/add-course:95:30) jak.js:92
JAK.C._log jak.js:92
(anonymous function) jak.js:92
(anonymous function) angular.js:5563
(anonymous function) angular.js:4661
Scope.$digest angular.js:7712
Scope.$apply angular.js:7894
$delegate.__proto__.$apply add-course (1):454
(anonymous function) angular.js:930
invoke angular.js:2788
bootstrap angular.js:928
angularInit angular.js:904
(anonymous function) angular.js:14397
n jquery.js:2
o.fireWith jquery.js:2
e.extend.ready jquery.js:2
c.addEventListener.B

some help ?

I have the same problem. My Chrome version is 23.0.1271.64 (linux)
and angularjs's version v1.1.0.
Batarang v0.3.0

tkat commented Nov 29, 2012

Same here with Chrome Canary 25.0.1337.0

Batarang v.0.3.0 also

Contributor

btford commented Jan 1, 2013

Just released v0.3.1. Please try it and let me know if this problem persists.

tkat commented Jan 2, 2013

Nope. Problem still here.

Batarang v.0.3.1 on both Chrome v.23.0.1271.97 & Canary v.26.0.1373.0

Contributor

btford commented Jan 2, 2013

Anyone have a publicly-facing app that fails that I can test against?

sephie commented Jan 22, 2013

I ran into this as soon as I included the ng-grid-layout plugin from ng-grid (part of, but not included in angular-ui). ng-grid version 1.6.3. I hope it helps you narrow down the problem.

@btford I don't have any front-facing app sorry, but can say I've ran into this now.

This line:

ng-class="{'is-selected':isCurrentHotspot($index)}"

Within:

<map-marker
      ng-click="toggleHotspot($index)"
      ng-class="{'is-selected':isCurrentHotspot($index)}"
      ng-repeat="hotspot in hotspots"
      config="mapMarkerConfig"
      lat="hotspot.latLon.lat"
      lng="hotspot.latLon.lon">

determines whether or not I get this error:

Screen Shot 2013-01-29 at 7 18 37 PM

Disabling batarang solves the problem...

Happening to me with Batarang 0.3.4 Chrome 24.0.1312.57

shairez commented Feb 12, 2013

Happened to me while using ng-grid

Same here. Version 24.0.1312.57 m Batarang 0.3.4. I can share my app privately

coli commented Feb 22, 2013

Yup, seem to be ng-grid related. Just hit this, had to disable batarang for now

Contributor

btford commented Feb 25, 2013

Thanks guys. I've been focused on yeoman support for Angular recently, but
having this narrowed down to a specific widget really helps.

On Fri, Feb 22, 2013 at 2:37 PM, Eddie Huang notifications@github.comwrote:

Yup, seem to be ng-grid related. Just hit this, had to disable batarang
for now


Reply to this email directly or view it on GitHubhttps://github.com/angular/angularjs-batarang/issues/37#issuecomment-13967134.

Premier commented Feb 25, 2013

Happened to me while using ng-grid

amfern commented Mar 5, 2013

same behavior with ng-grid and Batarang

As another data point, I have the same problem but I'm not using ng-grid. angular-ui is getting loaded though. The whole chrome tab locks up with 100% CPU for a minute or two while it slowly prints a few of those selectionDirection errors.
Chromium "Debian Version 25.0.1364.97 Debian 7.0 (183676)", Angular "v1.0.4-841bdf1c", and Batarang "0.3.4".

handijk commented Mar 7, 2013

The same behavior here using ngGrid and batarang. Disabling batarang solves the problem

dylanz commented Mar 15, 2013

+1... ngGrid and Batarang conflict of some sorts, spiking my CPU. Disabling Batarang solved the issue and allowed my ngGrid to render.

Contributor

btford commented Mar 27, 2013

Should be fixed in v0.4.0. Let me know if it persists, and we can re-open this. Thanks!

@btford btford closed this Mar 27, 2013

Shraymonks added a commit to Shraymonks/pinspector that referenced this issue Jul 17, 2015

Merge pull request #37 from Shraymonks/tab-shown
Only show tab on pinterest.com or pinterdev.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment