Skip to content

Instantly share code, notes, and snippets.

View wskidmore's full-sized avatar

Tony Skidmore wskidmore

View GitHub Profile
@wskidmore
wskidmore / SLXMobile-Upgrade-12-to-20.md
Created June 21, 2012 18:30
SLXMobile-Upgrade-12-to-20

#Upgrading 1.2 to 2.0 With the release of SLX Mobile 2.0 there have been many major changes in how the application works. This was done not only to align with SLX Web but to also bring faster performance, newer features and a more customize-able environment. These changes include:

  • AMD script loading;
  • Removed the Ext framework and replaced it with Dojo 1.7.1;
  • Minor folder restructuring;
  • Properties and Functions renamed to be more descriptive; and
  • Additional properties and functions to enhance customizing.
@wskidmore
wskidmore / getcolrange.js
Created October 12, 2012 22:09
Get Column Range by Start Row Index, google script for spreadsheets
// example usage
function testGetFullColumn()
{
Logger.log(getFullColumn('A', 1).getNumRows()); // number rows A1:A end
Logger.log(getFullColumn('B', 2).getNumRows()); // number rows B2:B end
Logger.log(getFullColumn('C', 5).getNumRows()); // number rows C5:C end
// also look into:
// https://developers.google.com/apps-script/storing_data_spreadsheets#reading-2
// for converting a range into js objects for easier calculations
}
@wskidmore
wskidmore / ApplicationModule.js
Created November 8, 2012 21:25
SLXMobile v2, add actions to home screen
define('Mobile/Training/ApplicationModule', [
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/_base/connect',
'dojo/string',
'dojo/query',
'dojo/dom-attr',
'dojo/dom-class',
'Mobile/SalesLogix/Format',
'Sage/Platform/Mobile/ApplicationModule',