From 17e9cf71da7c144efb657d8414f5496d9501b845 Mon Sep 17 00:00:00 2001 From: elijah Date: Sat, 4 Feb 2012 15:22:25 -0800 Subject: [PATCH] use english spelling: replace costumStart with customStart. --- static/custom/js.template | 4 ++-- static/index.html | 4 ++-- static/js/pad.js | 4 ++-- static/js/timeslider.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/static/custom/js.template b/static/custom/js.template index e857a8bf..152c3d5d 100644 --- a/static/custom/js.template +++ b/static/custom/js.template @@ -1,6 +1,6 @@ -function costumStart() +function customStart() { //define your javascript here - //jquery is avaiable - except index.js + //jquery is available - except index.js //you can load extra scripts with $.getScript http://api.jquery.com/jQuery.getScript/ } diff --git a/static/index.html b/static/index.html index fe38318b..97736d1e 100644 --- a/static/index.html +++ b/static/index.html @@ -148,8 +148,8 @@ return randomstring; } - //start the costum js - if(typeof costumStart == "function") costumStart(); + // start the custom js + if (typeof customStart == "function") customStart(); diff --git a/static/js/pad.js b/static/js/pad.js index 7eb744a1..85d42f0b 100644 --- a/static/js/pad.js +++ b/static/js/pad.js @@ -414,8 +414,8 @@ var pad = { $(document).ready(function() { - //start the costum js - if(typeof costumStart == "function") costumStart(); + // start the custom js + if (typeof customStart == "function") customStart(); getParams(); handshake(); }); diff --git a/static/js/timeslider.js b/static/js/timeslider.js index a36bd628..d2fce8fd 100644 --- a/static/js/timeslider.js +++ b/static/js/timeslider.js @@ -65,8 +65,8 @@ var socket, token, padId, export_links; function init() { $(document).ready(function () { - //start the costum js - if(typeof costumStart == "function") costumStart(); + // start the custom js + if (typeof customStart == "function") customStart(); //get the padId out of the url var urlParts= document.location.pathname.split("/");