diff --git a/.gitignore b/.gitignore index 754e191..9c77a08 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ !.gitkeep *__temp node_modules +docs/ +dist/ diff --git a/.gitignore b/.gitignore index 754e191..9c77a08 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ !.gitkeep *__temp node_modules +docs/ +dist/ diff --git a/.jshintrc b/.jshintrc index aea9f57..4579043 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,7 +14,7 @@ "bitwise" : false, // Disallow bitwise operators (&, |, ^, etc.). "camelcase" : true, // Force all variable names to use either camelCase or UPPER_CASE. - "curly" : false, // Require {} for every new block or scope. + "curly" : true, // Require {} for every new block or scope. "eqeqeq" : true, // Require triple equals i.e. `===`. "es3" : false, // Enforce conforming to ECMAScript 3. "forin" : false, // Disallow `for in` loops without `hasOwnPrototype`. @@ -38,7 +38,6 @@ "maxlen" : 220, // Require that all lines are 100 characters or less. "globals" : { // Register globals that are used in the code. // PIXI globals - "PIXI": false, "spine": false, //resemble globals diff --git a/.gitignore b/.gitignore index 754e191..9c77a08 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ !.gitkeep *__temp node_modules +docs/ +dist/ diff --git a/.jshintrc b/.jshintrc index aea9f57..4579043 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,7 +14,7 @@ "bitwise" : false, // Disallow bitwise operators (&, |, ^, etc.). "camelcase" : true, // Force all variable names to use either camelCase or UPPER_CASE. - "curly" : false, // Require {} for every new block or scope. + "curly" : true, // Require {} for every new block or scope. "eqeqeq" : true, // Require triple equals i.e. `===`. "es3" : false, // Enforce conforming to ECMAScript 3. "forin" : false, // Disallow `for in` loops without `hasOwnPrototype`. @@ -38,7 +38,6 @@ "maxlen" : 220, // Require that all lines are 100 characters or less. "globals" : { // Register globals that are used in the code. // PIXI globals - "PIXI": false, "spine": false, //resemble globals diff --git a/LICENSE b/LICENSE index 991e7ad..39cbfb0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2013-2014 Mathew Groves +Copyright (c) 2013-2015 Mathew Groves Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/.gitignore b/.gitignore index 754e191..9c77a08 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ !.gitkeep *__temp node_modules +docs/ +dist/ diff --git a/.jshintrc b/.jshintrc index aea9f57..4579043 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,7 +14,7 @@ "bitwise" : false, // Disallow bitwise operators (&, |, ^, etc.). "camelcase" : true, // Force all variable names to use either camelCase or UPPER_CASE. - "curly" : false, // Require {} for every new block or scope. + "curly" : true, // Require {} for every new block or scope. "eqeqeq" : true, // Require triple equals i.e. `===`. "es3" : false, // Enforce conforming to ECMAScript 3. "forin" : false, // Disallow `for in` loops without `hasOwnPrototype`. @@ -38,7 +38,6 @@ "maxlen" : 220, // Require that all lines are 100 characters or less. "globals" : { // Register globals that are used in the code. // PIXI globals - "PIXI": false, "spine": false, //resemble globals diff --git a/LICENSE b/LICENSE index 991e7ad..39cbfb0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2013-2014 Mathew Groves +Copyright (c) 2013-2015 Mathew Groves Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 08fcee7..d76616b 100644 --- a/README.md +++ b/README.md @@ -178,3 +178,12 @@ This content is released under the (http://opensource.org/licenses/MIT) MIT License. [![Analytics](https://ga-beacon.appspot.com/UA-39213431-2/pixi.js/index)](https://github.com/igrigorik/ga-beacon) + + + + +## Rewrite TODO + +1. Remove tight coupling with Interaction Manager and stage.. +2. Rewrite updateTransform (DO, DOC, etc) to reduce gc grind +3. Rewrite getBounds (Sprite, Graphics, etc) to reduce gc grind diff --git a/.gitignore b/.gitignore index 754e191..9c77a08 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ !.gitkeep *__temp node_modules +docs/ +dist/ diff --git a/.jshintrc b/.jshintrc index aea9f57..4579043 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,7 +14,7 @@ "bitwise" : false, // Disallow bitwise operators (&, |, ^, etc.). "camelcase" : true, // Force all variable names to use either camelCase or UPPER_CASE. - "curly" : false, // Require {} for every new block or scope. + "curly" : true, // Require {} for every new block or scope. "eqeqeq" : true, // Require triple equals i.e. `===`. "es3" : false, // Enforce conforming to ECMAScript 3. "forin" : false, // Disallow `for in` loops without `hasOwnPrototype`. @@ -38,7 +38,6 @@ "maxlen" : 220, // Require that all lines are 100 characters or less. "globals" : { // Register globals that are used in the code. // PIXI globals - "PIXI": false, "spine": false, //resemble globals diff --git a/LICENSE b/LICENSE index 991e7ad..39cbfb0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2013-2014 Mathew Groves +Copyright (c) 2013-2015 Mathew Groves Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 08fcee7..d76616b 100644 --- a/README.md +++ b/README.md @@ -178,3 +178,12 @@ This content is released under the (http://opensource.org/licenses/MIT) MIT License. [![Analytics](https://ga-beacon.appspot.com/UA-39213431-2/pixi.js/index)](https://github.com/igrigorik/ga-beacon) + + + + +## Rewrite TODO + +1. Remove tight coupling with Interaction Manager and stage.. +2. Rewrite updateTransform (DO, DOC, etc) to reduce gc grind +3. Rewrite getBounds (Sprite, Graphics, etc) to reduce gc grind diff --git a/package.json b/package.json index 03e4378..82bebce 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "url": "https://github.com/GoodBoyDigital/pixi.js.git" }, "scripts": { - "test": "gulp test" + "test": "gulp test", + "docs": "./node_modules/.bin/jsdoc -c ./gulp/util/jsdoc.conf.json" }, "devDependencies": { "chai": "^1.10.0", @@ -25,10 +26,12 @@ "gulp-jshint": "^1.9.0", "gulp-plumber": "^0.6.6", "gulp-util": "^3.0.1", + "ink-docstrap": "^0.4.12", + "jsdoc": "^3.3.0-alpha13", "karma": "^0.12.28", "karma-firefox-launcher": "^0.1.0", - "karma-spec-reporter": "^0.0.16", "karma-mocha": "^0.1.10", + "karma-spec-reporter": "^0.0.16", "mocha": "^2.1.0", "run-sequence": "^1.0.2" }