NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
| /** | |
| * Process an array of data synchronously. | |
| * | |
| * @param data An array of data. | |
| * @param processData A function that processes an item of data. | |
| * Signature: function(item, i, callback), where {@code item} is the i'th item, | |
| * {@code i} is the loop index value and {@code calback} is the | |
| * parameterless function to call on completion of processing an item. | |
| */ | |
| function doSynchronousLoop(data, processData, done) { |
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
| " Vim indent file | |
| " Language: CSS | |
| " Maintainer: Nikolai Weibull <[email protected]> | |
| " Latest Revision: 2010-12-22 | |
| if exists("b:did_indent") | |
| finish | |
| endif | |
| let b:did_indent = 1 |