aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/io-mediator.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-28 10:06:48 -0800
committerAnanya Sen2012-02-28 10:06:48 -0800
commitbca9189a076432f35f99fc90f271c45ec00c0f1c (patch)
treec5c7c957d6affb858916ceeeae6e44b148555c89 /js/mediators/io-mediator.js
parent2edcdd88ffc2f6ff0ea836e4da3e1fd2cb3e856f (diff)
parent6af71de5b80fd531901e82b12372446b569902d8 (diff)
downloadninja-bca9189a076432f35f99fc90f271c45ec00c0f1c.tar.gz
Merge branch 'refs/heads/FileIO-jose' into FileIO
Diffstat (limited to 'js/mediators/io-mediator.js')
-rw-r--r--js/mediators/io-mediator.js19
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: {