Printing Dependency Tree in RequireJS When Module Load Error Occurs

Printing RequireJS Module dependency tree when something goes wrong.

Advertisements

My First Yeoman Generator: sharepoint-spa – Easily Setup New SharePoint Web Single Page Applications

I have used Yeoman from time to time and it really is a nice tool if you can find the right generator. Yeoman, if you are not familiar with it, is a scaffolding utility that can help setup just about any type of project.  For example: want to create a jQuery plugin? Just use the official … Continue reading My First Yeoman Generator: sharepoint-spa – Easily Setup New SharePoint Web Single Page Applications

SharePoint SPWidgets Converted to AMD Modules

SPWidgets - purtuga.github.io/SPWidgets - is a project I started back in 2012 when I started to take advantage of the SharePoint platform to build custom web solutions for the teams I worked with. It initially served as a place to gather reusable User Interface (UI) components that could be quickly applied to multiple projects - … Continue reading SharePoint SPWidgets Converted to AMD Modules

How To: Load a Private Version of jQuery with Require.JS

AMD Loaders Rock! I have been using require.js (an AMD loader) to do allot of client side development and can't really imagine starting any decent size project (App) without it.  It allows you to break up your code into modules that are loaded along with their dependencies (other modules). This design patters allows for greater … Continue reading How To: Load a Private Version of jQuery with Require.JS

How To Get Information About a SharePoint List Item Using its URL

I recently had the need to get information about an Document Library item based on that item's URL. Particularly I was looking to know the item's ID and the List Name/ID that it belong to so that could the use the GetListItems operation of the Lists web services (using SOAP interface). All I had was … Continue reading How To Get Information About a SharePoint List Item Using its URL

JavaScript How To : Deferred Code Execution with jQuery Deferreds

When building web applications I often need to execute pieces of code only after a certain condition has been met. If you use jQuery, then you are probably aware of the Deferred functionally it provides when working with Ajax calls or animations. But what if your want to use it to check some other condition … Continue reading JavaScript How To : Deferred Code Execution with jQuery Deferreds