(style, string)
| 20 | // Takes a string of words separated by spaces and adds them as |
| 21 | // keys with the value of the first argument 'style' |
| 22 | function define(style, string) { |
| 23 | var split = string.split(' '); |
| 24 | for (var i = 0; i < split.length; i++) { |
| 25 | words[split[i]] = style; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | // Takes commonly known puppet types/words and classifies them to a style |
| 30 | define('keyword', 'class define site node include import inherits'); |
no outgoing calls
no test coverage detected
searching dependent graphs…