(styleName)
| 28 | var setStyle = ""; |
| 29 | document.write("<link rel='alternate stylesheet' title='Solarized' href='" + data_path + "/solarized.css' />"); |
| 30 | function switchStylestyle(styleName) { |
| 31 | setStyle = styleName; |
| 32 | $('link[rel*=style][title]').each(function(i) { |
| 33 | this.disabled = true; |
| 34 | if (this.getAttribute('title').toLowerCase() == styleName.toLowerCase()) { |
| 35 | this.disabled = false; |
| 36 | } |
| 37 | }); |
| 38 | } |
| 39 | function switchStylestyleAndSetCookie(styleName) |
| 40 | { |
| 41 | switchStylestyle(styleName); |
no outgoing calls
no test coverage detected