├── .gitignore ├── .npmrc ├── .travis.yml ├── Gruntfile.js ├── README.md ├── boilerplate.js ├── bower.json ├── css-layout.js ├── expensive-keys.js ├── find-expensive-digest.png ├── first-paint-code-snippet-remote.png ├── first-paint-code-snippet.png ├── first-paint-remote.js ├── first-paint.js ├── github-pull-request-template.js ├── harlem-shake-xss.js ├── images └── update-code-snippets.png ├── keys-vs-values.js ├── local-storage-size.js ├── ng-count-digest-cycle-simple.js ├── ng-count-digest-cycles.js ├── ng-count-watchers.js ├── ng-find-expensive-digest.js ├── ng-find-scope-property.js ├── ng-idle-apply-timing.js ├── ng-monitor-digest-cycle.js ├── ng-profile-data-change.js ├── ng-profile-local-digest.js ├── ng-profile-scope-method.js ├── ng-run-digest-cycle.js ├── ng-scope-size.js ├── ng-throw-error.js ├── package.json ├── profile-method-call.js ├── profile-prototype-method.js ├── profile-separate-calls.js ├── remove-all-but.js ├── test-script-injection.js ├── test └── count-digest-cycles.html ├── time-method-call.js ├── timing.js ├── update-code-snippets.js └── utils ├── .jshintrc ├── eslint.json └── jscs.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/.npmrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/README.md -------------------------------------------------------------------------------- /boilerplate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/boilerplate.js -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/bower.json -------------------------------------------------------------------------------- /css-layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/css-layout.js -------------------------------------------------------------------------------- /expensive-keys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/expensive-keys.js -------------------------------------------------------------------------------- /find-expensive-digest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/find-expensive-digest.png -------------------------------------------------------------------------------- /first-paint-code-snippet-remote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/first-paint-code-snippet-remote.png -------------------------------------------------------------------------------- /first-paint-code-snippet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/first-paint-code-snippet.png -------------------------------------------------------------------------------- /first-paint-remote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/first-paint-remote.js -------------------------------------------------------------------------------- /first-paint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/first-paint.js -------------------------------------------------------------------------------- /github-pull-request-template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/github-pull-request-template.js -------------------------------------------------------------------------------- /harlem-shake-xss.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/harlem-shake-xss.js -------------------------------------------------------------------------------- /images/update-code-snippets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/images/update-code-snippets.png -------------------------------------------------------------------------------- /keys-vs-values.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/keys-vs-values.js -------------------------------------------------------------------------------- /local-storage-size.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/local-storage-size.js -------------------------------------------------------------------------------- /ng-count-digest-cycle-simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-count-digest-cycle-simple.js -------------------------------------------------------------------------------- /ng-count-digest-cycles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-count-digest-cycles.js -------------------------------------------------------------------------------- /ng-count-watchers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-count-watchers.js -------------------------------------------------------------------------------- /ng-find-expensive-digest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-find-expensive-digest.js -------------------------------------------------------------------------------- /ng-find-scope-property.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-find-scope-property.js -------------------------------------------------------------------------------- /ng-idle-apply-timing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-idle-apply-timing.js -------------------------------------------------------------------------------- /ng-monitor-digest-cycle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-monitor-digest-cycle.js -------------------------------------------------------------------------------- /ng-profile-data-change.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-profile-data-change.js -------------------------------------------------------------------------------- /ng-profile-local-digest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-profile-local-digest.js -------------------------------------------------------------------------------- /ng-profile-scope-method.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-profile-scope-method.js -------------------------------------------------------------------------------- /ng-run-digest-cycle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-run-digest-cycle.js -------------------------------------------------------------------------------- /ng-scope-size.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-scope-size.js -------------------------------------------------------------------------------- /ng-throw-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/ng-throw-error.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/package.json -------------------------------------------------------------------------------- /profile-method-call.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/profile-method-call.js -------------------------------------------------------------------------------- /profile-prototype-method.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/profile-prototype-method.js -------------------------------------------------------------------------------- /profile-separate-calls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/profile-separate-calls.js -------------------------------------------------------------------------------- /remove-all-but.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/remove-all-but.js -------------------------------------------------------------------------------- /test-script-injection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/test-script-injection.js -------------------------------------------------------------------------------- /test/count-digest-cycles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/test/count-digest-cycles.html -------------------------------------------------------------------------------- /time-method-call.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/time-method-call.js -------------------------------------------------------------------------------- /timing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/timing.js -------------------------------------------------------------------------------- /update-code-snippets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/update-code-snippets.js -------------------------------------------------------------------------------- /utils/.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/utils/.jshintrc -------------------------------------------------------------------------------- /utils/eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/utils/eslint.json -------------------------------------------------------------------------------- /utils/jscs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/code-snippets/HEAD/utils/jscs.json --------------------------------------------------------------------------------