diff options
Diffstat (limited to 'js/mediators')
-rw-r--r-- | js/mediators/io-mediator.js | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js index 7efed29b..733e44b2 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js | |||
@@ -345,10 +345,21 @@ exports.IoMediator = Montage.create(Component, { | |||
345 | //////////////////////////////////////////////////////////////////// | 345 | //////////////////////////////////////////////////////////////////// |
346 | //Pretty methods (minified) | 346 | //Pretty methods (minified) |
347 | /* | 347 | /* |
348 | is-beautify javascript code courtesy of Einar Lielmanis: | 348 | is-beautify javascript code courtesy of Einar Lielmanis: |
349 | Code from https://github.com/einars/js-beautify | 349 | Code from https://github.com/einars/js-beautify |
350 | License https://github.com/einars/js-beautify/blob/master/license.txt | 350 | License https://github.com/einars/js-beautify/blob/master/license.txt |
351 | Used with author's permission | 351 | Used with author's permission, as stated below |
352 | |||
353 | Copyright (c) 2009 - 2011, Einar Lielmanis | ||
354 | Permission is hereby granted, free of charge, to any person | ||
355 | obtaining a copy of this software and associated documentation | ||
356 | files (the "Software"), to deal in the Software without | ||
357 | restriction, including without limitation the rights to use, | ||
358 | copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
359 | copies of the Software, and to permit persons to whom the | ||
360 | Software is furnished to do so, subject to the following | ||
361 | conditions:The above copyright notice and this permission notice shall be | ||
362 | included in all copies or substantial portions of the Software. | ||
352 | */ | 363 | */ |
353 | //For HTML, including any JS or CSS (single string/file) | 364 | //For HTML, including any JS or CSS (single string/file) |
354 | getPrettyHtml: { | 365 | getPrettyHtml: { |