rmurphey / js-assessment-answers

125 stars 84 forks source link

update to match refactor in js-assessment #112 #34

Closed ashleygwilliams closed 9 years ago

ashleygwilliams commented 9 years ago

given https://github.com/rmurphey/js-assessment/pull/112, this needs to be refactored, as one can no longer just drop in answers

this will mean removing this statement:

if (typeof define !== 'function') { var define = require('amdefine')(module); }

define(function() {
  return {
   // etc...

and adding:

exports = (typeof window === 'undefined') ? global : window;

exports.flowControlAnswers = { 
  //etc...

to each file in /app/

and then removing /app/config.js

ashleygwilliams commented 9 years ago

this was closed by #35