diff options
author | David Greenspan <davidgreenspan@gmail.com> | 2009-12-25 22:53:09 -0500 |
---|---|---|
committer | David Greenspan <davidgreenspan@gmail.com> | 2009-12-25 22:53:09 -0500 |
commit | 0b2d5baa407153d20c7eb08fb4ff9960c1cf13c9 (patch) | |
tree | 7d274255e87c8af86e0bcba2a446c3acc7b56d75 /trunk/etherpad/src/static/js/cssmanager_client.js | |
parent | f62c1e3c7f283dbfb0c9f7c9a5c015c91968066f (diff) | |
download | etherpad-0b2d5baa407153d20c7eb08fb4ff9960c1cf13c9.tar.gz etherpad-0b2d5baa407153d20c7eb08fb4ff9960c1cf13c9.tar.xz etherpad-0b2d5baa407153d20c7eb08fb4ff9960c1cf13c9.zip |
updated files in repo generated by ACE build (just comments moving around and stuff)
Diffstat (limited to 'trunk/etherpad/src/static/js/cssmanager_client.js')
-rw-r--r-- | trunk/etherpad/src/static/js/cssmanager_client.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/trunk/etherpad/src/static/js/cssmanager_client.js b/trunk/etherpad/src/static/js/cssmanager_client.js index 7617212..04ed641 100644 --- a/trunk/etherpad/src/static/js/cssmanager_client.js +++ b/trunk/etherpad/src/static/js/cssmanager_client.js @@ -1,12 +1,14 @@ +// DO NOT EDIT THIS FILE, edit infrastructure/ace/www/cssmanager.js + /** * 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. */ -// DO NOT EDIT THIS FILE, edit infrastructure/ace/www/cssmanager.js - 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; |