- add a new file in
app/models/quiz_question/that extendsQuizQuestion::Base(or another question type) - extend the appropriate scoring functions:
- stats
- total_answer_parts
- correct_answer_parts
- incorrect_answer_parts
- requires_manual_scoring?
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |
| set nocompatible | |
| filetype off " needed to load vundle | |
| " Manage plugins with vundle | |
| " run :PluginInstall (or vim +PluginInstall +qall on cli) | |
| set rtp+=~/.vim/bundle/Vundle.vim/ | |
| call vundle#rc() | |
| Plugin 'gmarik/vundle' | |
| " Security |
| # ... | |
| gem 'canvas_oauth_engine', :require => 'canvas_oauth' | |
| # ... |
| # ... | |
| gem 'lti_provider_engine', :require => 'lti_provider' | |
| # ... |
| config.cache_classes = true | |
| config.action_controller.perform_caching = true | |
| config.action_view.cache_template_loading = true | |
| # ENV['USE_OPTIMIZED_JS'] = "true" |
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <a href='#' id='controller' aria-expanded=true aria-controls='blah'>Click Me</a> | |
| <div id='blah'> | |
| <p>hi</p> | |
| </div> |
| group :development do | |
| gem "pry" | |
| gem "powder" | |
| gem "letter_opener" | |
| gem "better_errors", ">= 0.7.2" | |
| gem "binding_of_caller", ">= 0.7.1" | |
| gem 'meta_request' | |
| gem "html2haml", ">= 1.0.1" | |
| gem 'guard' | |
| gem 'rb-fsevent', require: false |
| # - fail.png => http://cl.ly/image/183e0Z3L181f | |
| # - pass.png => http://cl.ly/image/233w153f3o2C | |
| # - add `.build-icon { border: none; }` to your theme css | |
| images = | |
| fail: 'http://f.cl.ly/items/3W0B3C1l3u3D0w231y2y/fail.png' | |
| pass: 'http://f.cl.ly/items/1g153P1F302c1h1F0T0P/pass.png' | |
| bind 'line', (line) -> | |
| message = $(line).find '.message' |