mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Ignore all documentation that caused warnings about leakage.
This commit is contained in:
parent
401c4d5dc4
commit
2ec34512d1
3 changed files with 11 additions and 0 deletions
|
@ -249,6 +249,8 @@ var Color = this.Color = Base.extend(new function() {
|
|||
/**
|
||||
* Override Color.extend() to produce getters and setters based
|
||||
* on the component types defined in _components.
|
||||
*
|
||||
* @ignore
|
||||
*/
|
||||
extend: function(src) {
|
||||
src.beans = true;
|
||||
|
|
|
@ -60,6 +60,8 @@ this.Base = Base.inject({
|
|||
* Utility function for adding and removing items from a list of which
|
||||
* each entry keeps a reference to its index in the list in the private
|
||||
* _index property. Used for PaperScope#projects and Item#children.
|
||||
*
|
||||
* @ignore
|
||||
*/
|
||||
splice: function(list, items, index, remove) {
|
||||
var amount = items && items.length,
|
||||
|
@ -104,6 +106,8 @@ this.Base = Base.inject({
|
|||
/**
|
||||
* Utility function for rendering numbers to strings at a precision of
|
||||
* up to 5 fractional digits.
|
||||
*
|
||||
* @ignore
|
||||
*/
|
||||
formatNumber: function(num) {
|
||||
return (Math.round(num * 100000) / 100000).toString();
|
||||
|
@ -112,6 +116,8 @@ this.Base = Base.inject({
|
|||
/**
|
||||
* Utility function for rendering objects to strings, in object literal
|
||||
* notation.
|
||||
*
|
||||
* @ignore
|
||||
*/
|
||||
formatObject: function(obj) {
|
||||
return '{ ' + Base.each(obj, function(value, key) {
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
*
|
||||
***/
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
var paper = new function() {
|
||||
// Inline Bootstrap core (the Base class) inside the paper scope first:
|
||||
//#include "../lib/bootstrap.js"
|
||||
|
|
Loading…
Reference in a new issue