Skip to content

Instantly share code, notes, and snippets.

@olanb7
olanb7 / errors.txt
Created August 22, 2017 11:29
IMS LTI Certification Tool Consumer Profile Issues
Unrecognised service(s) in Tool Proxy [« less]
https://apps.imsglobal.org/lti/cert/tp/tp_tcprofile.php#ToolProxy.collection
https://apps.imsglobal.org/lti/cert/tp/tp_tcprofile.php#Outcomes.LTI1
@olanb7
olanb7 / gist:784a7bb491cd6fb8004f
Last active August 29, 2015 14:06
TrainingPeaks UI workoutCommentView bug

Problem: Often when editing comments the post-workout input box loses focus after a short period of time. For example, if I've just paused from typing for a few seconds.

Looking at the JS, there appears to be a timer to autosave comments every 2s.

views/workoutCommentsEditor/workoutCommentView

    onCommentBodyChanged: function() {
      this.saveTimeout && clearTimeout(this.saveTimeout)
      var a = this
@olanb7
olanb7 / app-short.js
Created November 9, 2012 14:46 — forked from jshirley/app-short.js
Code for my loading strategy, documented at http://tech.tdp.me/2012/08/28/better-spa/
var YUI = require('yui').YUI,
Y = YUI(/* Your YUI Config */),
requireAuth = require('./lib/middlware/auth'),
modelLoader = require('./lib/middlware/loader'),
app = /* create express app */;
Y.namespace('TDP').config = {
webservices : global.config.webservices.path
};