diff options
author | alexanders@b2ef00c0-3703-41da-baef-cfe82387ac0c <none@none> | 2010-02-03 00:49:01 +0000 |
---|---|---|
committer | alexanders@b2ef00c0-3703-41da-baef-cfe82387ac0c <none@none> | 2010-02-03 00:49:01 +0000 |
commit | 200045a9b74bdfc6146b72747781e93d3f759df5 (patch) | |
tree | 9f583dfbe2508558d13c093c32326c1dac8badc2 /trunk/infrastructure/ace/www/cssmanager.js | |
parent | fb518368b5d17f3f79115c2c5310c83e36106192 (diff) | |
download | etherpad-200045a9b74bdfc6146b72747781e93d3f759df5.tar.gz etherpad-200045a9b74bdfc6146b72747781e93d3f759df5.tar.xz etherpad-200045a9b74bdfc6146b72747781e93d3f759df5.zip |
fixed ACE build process; added ACE README
--HG--
extra : convert_revision : svn%3Ab2ef00c0-3703-41da-baef-cfe82387ac0c/trunk%406
Diffstat (limited to 'trunk/infrastructure/ace/www/cssmanager.js')
-rw-r--r-- | trunk/infrastructure/ace/www/cssmanager.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/trunk/infrastructure/ace/www/cssmanager.js b/trunk/infrastructure/ace/www/cssmanager.js index bdd6aef..a5c549b 100644 --- a/trunk/infrastructure/ace/www/cssmanager.js +++ b/trunk/infrastructure/ace/www/cssmanager.js @@ -1,12 +1,14 @@ + + /** * Copyright 2009 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS-IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -14,8 +16,6 @@ * limitations under the License. */ - - function makeCSSManager(emptyStylesheetTitle) { function getSheetByTitle(title) { @@ -37,9 +37,9 @@ function makeCSSManager(emptyStylesheetTitle) { return t; } } - return null; + return null; }*/ - + var browserSheet = getSheetByTitle(emptyStylesheetTitle); //var browserTag = getSheetTagByTitle(emptyStylesheetTitle); function browserRules() { return (browserSheet.cssRules || browserSheet.rules); } @@ -59,7 +59,7 @@ function makeCSSManager(emptyStylesheetTitle) { return i; } } - return -1; + return -1; } function selectorStyle(selector) { @@ -80,7 +80,7 @@ function makeCSSManager(emptyStylesheetTitle) { selectorList.splice(i, 1); } } - + return {selectorStyle:selectorStyle, removeSelectorStyle:removeSelectorStyle, info: function() { return selectorList.length+":"+browserRules().length; |