- Base search for programme name
- Autocomplete functionality for programme name
- Base search for keyword
channel_filter.ejs:
<div class="header">
<p>
Click channels to <span>remove</span> from results
</p>
<p class="toggles">
<a class="button off all_off">All Off</a>
<a class="button on all_on disabled">All On</a>
| // r.js concatenation and minification of javascript | |
| requirejs: { | |
| compile: { | |
| options: { | |
| name: "almond", | |
| baseUrl: "lib/js/", | |
| include: ['main'], | |
| exclude: ['jquery'], | |
| mainConfigFile: "lib/js/main.js", | |
| out: "build/js/peaks.min.js", |
| var path = require('path'); | |
| var createPattern = function(path) { | |
| return {pattern: path, included: true, served: true, watched: false}; | |
| }; | |
| var framework = function(files) { | |
| files.unshift(createPattern(path.resolve(require.resolve('imagediff'), '../imagediff.js'))); | |
| }; |
| /* | |
| This constant is written in column C for rows for which an email | |
| has been sent successfully. | |
| */ | |
| function send_software_request() { | |
| //MailApp.sendEmail("chris.finch@guardian.co.uk", "Running",""); //- use to test if script is running | |
| var EMAIL_SENT = "EMAIL_SENT"; |