Posted on 2. November 2013  CRM 2013 Script Loading Deep Dive
1. Form Libraries   2. Ribbon Xml Command Actions    3. Ribbon
Xml Enable Rule   <EnableRule
Id="new.new_valuerulestest.BoolYes.EnableRule">     Here are the
things you need to know!   Form Scripts      Enable Rules
Script Loading Process Flow   Key points of note on the flow:
1. Enable Rule Scripts are loaded in series   2. Form Scripts
are loaded in Parallel.   3. Command Action Scripts are loaded
in series   Working around the parallel loading of Form Scripts
var scriptLoader = scriptLoader || {     delayedLoads: [],
load: function (name, requires, script) {
window._loadedScripts = window._loadedScripts || {};
scriptLoader.runScript(name, script);         else {
// Register an onload check     runScript: function (name,
script) {     ;         window._loadedScripts[name] = true;
onScriptLoaded: function (name) {         // Check for any
registered delayed Loads         scriptLoader.del