Search results for 2014 08 21 debugging angularjs apps console

Building a Parallax Scrolling Game with Pixi.js – Part 3

by Brian Rinaldi

console. As usual, press F12 (Cmd + Opt + i on Mac) to open the Developer Tools window then click the Console tab. First ensure that there are no errors…

Real-World Best Practices for Building Angular.js Apps without Browserify or Require.js

by Jeff Dickey

this. It’s way simpler, and it’s only a light layer on top of ES6 modules. We should be able to easily use it in all apps, not just Angular apps….

Coding for Responsive State Changes with SimpleStateManager

by Brian Rinaldi

…function(){ console.log(‘leave mobile’); } }, { id: ‘tablet’, width: 991, onResize: function(){ console.log(‘resized tablet’); }, onEnter: function(){ console.log(‘enter tablet’); }, onLeave: function(){ console.log(‘leave tablet’); } }, { id: ‘desktop’, width:…

Building a Parallax Scrolling Game with Pixi.js – Part 4

by Brian Rinaldi

…to satisfy ourselves that the sprite has indeed been returned to the object pool. Add the following: console.log(“Before borrowing window: ” + this.pool.windows.length); var sprite = this.borrowWallSprite(SliceType.WINDOW); this.addChild(sprite); console.log(“After borrowing…

Mobile-Friendly Mapping for PhoneGap Apps

by Rob Lauer

console.log(‘addMapPins success’); }, function() { console.log(‘addMapPins error’); }); What’s nice is that you can assign success and error callback functions (in our case we are just outputting messages to the…

Why you should limit JavaScript — and how to do it

mm by Table XI

better performance) When we talk about JavaScript, we need to talk about bloat. It’s a problem for both traditional web apps and single-page apps. Traditional web apps always end up…

Best of JavaScript, HTML & CSS – Week of January 13, 2014

by Brian Rinaldi

…and the Road Ahead Dave Methvin posts the state of jQuery 2014, looking back at 2013 and discussing plans for 2014. The State of jQuery 2014 CJ Gammon on how…

JavaScript Fundamentals

by Brian Rinaldi

…{ console.log(‘Hi’); return true; } A function with a property (remember functions are just objects that can be invoked, i.e. initialized): var f = function () {console.log(‘Boo’);} f.boo = 1;…

Fun with JavaScript Native Array Functions

by Nicolas Bevacqua

…<- -1 console.log(b.indexOf({ foo: ‘bar’ })) // <- -1 console.log(b.indexOf(a)) // <- console.log(b.indexOf(a, 1)) // <- -1 b.indexOf(2, 1) // <- 1 If you want to go in the reverse…

React App

How to integrate Node.JS/React App with Xero

by Shazzad Hossen

integrations: private apps – think web or desktop app which connects to single Xero organization. public apps – web or desktop app which can connect to many organizations but allows…