From 454567ec9cc4bf923763d6e2282219dbea0782ce Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 26 Sep 2012 11:05:46 -0400 Subject: [PATCH] minor changes --- client.js | 3 +-- lib/client/editor/codemirror/LICENSE | 23 +++++++++++++++++++++++ lib/client/editor/codemirror/README.md | 8 ++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 lib/client/editor/codemirror/LICENSE create mode 100644 lib/client/editor/codemirror/README.md diff --git a/client.js b/client.js index 39f798ce..a8064d75 100644 --- a/client.js +++ b/client.js @@ -1192,12 +1192,11 @@ CloudClient.baseInit = (function(){ CloudClient.HEIGHT = lHeight; - Util.cssSet({id:'show_2panels', + Util.cssSet({id:'cloudcmd', element:document.head, inner: '.panel{' + 'height:' + lHeight +'px;' + - 'width:46%;' + '}' }); }); diff --git a/lib/client/editor/codemirror/LICENSE b/lib/client/editor/codemirror/LICENSE new file mode 100644 index 00000000..3916e96b --- /dev/null +++ b/lib/client/editor/codemirror/LICENSE @@ -0,0 +1,23 @@ +Copyright (C) 2012 by Marijn Haverbeke + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Please note that some subdirectories of the CodeMirror distribution +include their own LICENSE files, and are released under different +licences. diff --git a/lib/client/editor/codemirror/README.md b/lib/client/editor/codemirror/README.md new file mode 100644 index 00000000..8ed9871a --- /dev/null +++ b/lib/client/editor/codemirror/README.md @@ -0,0 +1,8 @@ +# CodeMirror [![Build Status](https://secure.travis-ci.org/marijnh/CodeMirror.png?branch=master)](http://travis-ci.org/marijnh/CodeMirror) + +CodeMirror is a JavaScript component that provides a code editor in +the browser. When a mode is available for the language you are coding +in, it will color your code, and optionally help with indentation. + +The project page is http://codemirror.net +The manual is at http://codemirror.net/doc/manual.html