diff --git a/src/core/PaperScope.js b/src/core/PaperScope.js index 81f14524..4e154fa4 100644 --- a/src/core/PaperScope.js +++ b/src/core/PaperScope.js @@ -186,14 +186,14 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{ /** * Injects the paper scope into any other given scope. Can be used for - * examle to inject the currently active PaperScope into the window's global - * scope, to emulate PaperScript-style globally accessible Paper classes and - * objects. + * example to inject the currently active PaperScope into the window's + * global scope, to emulate PaperScript-style globally accessible Paper + * classes and objects. * * Please note: Using this method may override native constructors - * (e.g. Path, RGBColor). This may cause problems when using Paper.js in - * conjunction with other libraries that rely on these constructors. Keep - * the library scoped if you encounter issues caused by this. + * (e.g. Path). This may cause problems when using Paper.js in conjunction + * with other libraries that rely on these constructors. Keep the library + * scoped if you encounter issues caused by this. * * @example * paper.install(window); diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index decd58d0..0824b5b1 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -25,7 +25,6 @@ * * Not supported yet * - Boolean operations on self-intersecting Paths - * - Paths are clones of each other that overlap exactly on top of each other! * * @author Harikrishnan Gopalakrishnan * http://hkrish.com/playground/paperjs/booleanStudy.html diff --git a/src/style/Color.js b/src/style/Color.js index 056a865b..3e1155f2 100644 --- a/src/style/Color.js +++ b/src/style/Color.js @@ -1283,23 +1283,3 @@ var Color = Base.extend(new function() { */ }); }); - -// Expose Color.RGB, etc. constructors, as well as RgbColor, RGBColor, etc.for -// backward compatibility. -Base.each(Color._types, function(properties, type) { - var ctor = this[Base.capitalize(type) + 'Color'] = function(arg) { - var argType = arg != null && typeof arg, - components = argType === 'object' && arg.length != null - ? arg - : argType === 'string' - ? null - : arguments; - return components - ? new Color(type, components) - : new Color(arg); - }; - if (type.length == 3) { - var acronym = type.toUpperCase(); - Color[acronym] = this[acronym + 'Color'] = ctor; - } -}, Base.exports);