Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

How to retrieve the results from js and how store those values in sobject? #50

Open
wants to merge 1,589 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1589 commits
Select commit Hold shift + click to select a range
9c5226e
adding error, abort, and timeout test cases
May 19, 2015
471aecc
move the coment into the assert
May 19, 2015
f0b3943
Added ESLint rule: space-before-function-paren
nicjansma May 20, 2015
e36a065
Test xhr before onload
Jun 1, 2015
bd4a820
Back out previous checkin
Jun 1, 2015
fcd8c15
AngularJS, Ember.js and Backbone.js support
nicjansma Aug 7, 2015
8c05157
Gruntfile.js reorg
nicjansma Aug 7, 2015
4ee09d0
Remove mPulse task
nicjansma Aug 7, 2015
5ad1f17
Remove merge left overs
andreas-marschke Jun 4, 2015
2673089
Plugin sizes
andreas-marschke Jun 9, 2015
66f7701
Make sure to gzip compress test content
nicjansma Jun 9, 2015
7f26f86
Small Gruntfile reorg
nicjansma Aug 7, 2015
35d215f
Protractor: Disable keepalive so errors fail build, fixes Junit XML r…
nicjansma Jun 10, 2015
0c1c6d5
More changes required for SPA support
nicjansma Aug 7, 2015
44f8122
t.isUserTimingSupported added
nicjansma Jun 11, 2015
5daf4cf
e2e-debug: Easier debugging
nicjansma Jun 11, 2015
932c891
Fix build and filesizes being run multiple times during jenkins job
andreas-marschke Jun 19, 2015
495169c
isQuerySelectorSupported added
nicjansma Aug 7, 2015
9bb34ff
06-bugs/92560: Remove getPathname test for empty string
nicjansma Jun 24, 2015
c956b0a
Check for addEventListener on win instead of document
nicjansma Jun 24, 2015
11d9378
Gruntfile: When watching test files, only trigger pages-builder
nicjansma Jun 24, 2015
f4d2579
Ensure all scripts are in HEAD tag
nicjansma Jun 25, 2015
a8dd51a
Fix for case document.domain being changed in the head
Jun 25, 2015
8e5482f
Added BOOMR_check_doc_domain to globally exported properties
nicjansma Jun 25, 2015
8a2227c
Fix 07-autoxhr/00-xhrs in IE 7-Edge, Safari and Android
nicjansma Jun 26, 2015
8526e10
06-bugs/92560: Work in IE 6, 7, 8 (when AutoXHR is off)
nicjansma Jun 29, 2015
7da73a2
Bitwise doesn't work for testing existence
nicjansma Jun 25, 2015
1479863
Fixes 03-load-order/02-after-page-load-tag-manager-ie9-fix in IE9 due…
nicjansma Jun 25, 2015
06a30fe
Fix relative path error in coverage report generation
andreas-marschke Jul 7, 2015
d090c58
Fix migrate image beacon
andreas-marschke Jul 14, 2015
539962f
Replace boomerangSnippet with boomerangScript in 02-onclick.html E2E …
andreas-marschke Jul 15, 2015
b496132
Make 07-autoxhr/02-onclick work on phantomjs
andreas-marschke Jul 27, 2015
98b009a
Don't use same dir for express:dev and copy:webserver
nicjansma Jul 28, 2015
eadaf22
e2e-debug: Don't bail if e2e-debug.json is missing
nicjansma Jul 28, 2015
fbdcb27
Use 'javascript:void(0)' in loader snippet so GTM in Firefox works
nicjansma Aug 3, 2015
c103255
Lint fixes
nicjansma Aug 3, 2015
69f4a51
Fix Edge hang on form.submit()
nicjansma Aug 5, 2015
bfda8f4
Lint and merge fixes
nicjansma Aug 7, 2015
8880a87
Remove session tests
nicjansma Aug 7, 2015
1e5eb90
Add memory.js plugin by default
nicjansma Aug 7, 2015
fd2e92e
Remove session checks
nicjansma Aug 7, 2015
9c54be7
Include SPA plugins by default
nicjansma Aug 7, 2015
a062edd
More merge fixes
nicjansma Aug 7, 2015
d48ab67
autorun config option and SPA url handling
nicjansma Aug 7, 2015
4be583e
More merge fixes
nicjansma Aug 7, 2015
af5e052
Remove leading & trailing quotes from cookie
Aug 10, 2015
6ff78cd
Add quotes around complex cookies
Aug 10, 2015
3a5a273
Merge fix
nicjansma Aug 17, 2015
b287fe5
Move karma.config.js to its correct dir
nicjansma Aug 17, 2015
80fe9a0
Remove tests/ prefix from karma.config.js
nicjansma Aug 17, 2015
fe74b78
More merge fixes
nicjansma Aug 17, 2015
1a4d000
Prevent propertie iteration from overriding autorrun without us
andreas-marschke Jul 6, 2015
b557018
Fix document.domain being changed after page is loaded
Jul 13, 2015
04c87a9
If [].filter is not supported, use BOOMR.utils.arrayFilter
andreas-marschke Aug 14, 2015
2a8edd2
Placeholder uninstrumentXHR and instrumentXHR functions
nicjansma Aug 17, 2015
f7d3110
Added restiming documentation
nicjansma Aug 17, 2015
1381ea1
Use typeof p.getEntriesByType check instead of existence
nicjansma Aug 17, 2015
b9cf70d
do not run if we do not have a window object (ie, after unload has fi…
Aug 17, 2015
1a7af68
Only look at edata if ename === 'xhr'
Aug 17, 2015
c78945e
More merge fixes
nicjansma Aug 17, 2015
25b790d
Merge pull request #21 from bluesmoon/quoted-cookies
bluesmoon Aug 20, 2015
909b65a
Quotes in cookie
bluesmoon Aug 20, 2015
74da901
Change form.submit() behavior for all RT browsers
nicjansma Aug 14, 2015
77f6c15
SPA plugins: Change to a enabled-by-default state that can be later .…
nicjansma Aug 18, 2015
c3d949a
Require 'karma' package explicitly to avoid peerinvalid
nicjansma Aug 19, 2015
3148146
BOOMR_test.isNavigationTimingSupported() added
nicjansma Aug 24, 2015
56a278a
Fixed test failure as part of merge
nicjansma Aug 24, 2015
b792f70
Merge branch 'master' into soasta-2015
nicjansma Aug 24, 2015
5b1f860
Updated TEST_URL_BASE comment
nicjansma Aug 24, 2015
db071cc
Merge branch 'master' into soasta-2015
nicjansma Aug 24, 2015
e761463
Remove client_apikey replacement
nicjansma Sep 8, 2015
afcdc9f
Remove xhr.pg references
nicjansma Sep 14, 2015
009c897
Added comment about [un]instrumentXHR stubs
nicjansma Sep 14, 2015
814c658
fixes #74
cybermaxs Jan 14, 2016
939c987
fixes eslint errors
cybermaxs Jan 14, 2016
84b2ee5
fixes indentation on comment
cybermaxs Jan 14, 2016
44b4d62
Merge pull request #68 from lognormal/soasta-2015
nicjansma Feb 29, 2016
4e1a55a
Merge pull request #75 from Cybermaxs/soasta-2015
bluesmoon Mar 17, 2016
831e5fa
Merge remote-tracking branch 'lognormal/master'
Mar 21, 2016
54ea749
add soasta copyright
Mar 21, 2016
55f91c8
playing with markdown syntax
Mar 21, 2016
fe86f77
Merge branch 'soasta-2015'
Mar 22, 2016
b77866a
Updated links to SOASTA repo
nicjansma May 9, 2016
7f58ca3
Remove h.cr check
nicjansma May 15, 2016
faed885
this.session not defined
luckykurhe May 18, 2016
b820191
Merge pull request #87 from luckykurhe/bugfix_session_site_domain
nicjansma May 18, 2016
de7b1cb
Avoid running webdriver-manager when it's not installed
ryanhughes Jun 10, 2016
f530405
Ensure uglify ^2.4.24 for https://zyan.scripts.mit.edu/blog/backdoori…
nicjansma Aug 24, 2015
7432c36
Lint fixes
nicjansma Jun 24, 2016
c79ec6c
Only run RT.done() on prerender state change if onload already fired
nicjansma Aug 28, 2015
32fbfd0
Check for Backbone on the correct window
Sep 1, 2015
ab7f093
Remove lint bypass
Sep 1, 2015
deb18ff
09-backbone/00-simple.html now uses the boomerang snippet instead of …
Sep 1, 2015
bc6b465
Fix t_done if two XHRs are close together
nicjansma Sep 10, 2015
995bb68
Separate SPA navigations into soft and hard navs
nicjansma Sep 10, 2015
7daf77c
Check for edata before looking at initiator
nicjansma Sep 11, 2015
3344a5c
AutoXHR: Use ResourceTiming if available
nicjansma Sep 14, 2015
74aa7f1
Protect against missing BOOMR.window.document in rt.js
nicjansma Sep 15, 2015
4c1fa28
SPA: Custom end events
nicjansma Sep 16, 2015
673d9ae
SPAs: Allow XHRs during hard and soft navs
nicjansma Sep 21, 2015
7208533
ResourceTiming: Optionally clear ResourceTiming onbeacon
nicjansma Sep 22, 2015
3c7e658
Test framework utility functions
nicjansma Sep 24, 2015
491fc20
e2e-debug.js logging
nicjansma Sep 24, 2015
bfa289c
Test for hashQueryString when a non-URL is passed as an argument
nicjansma Sep 25, 2015
cb627ae
Tests for Angular v1.4 and v1.5
nicjansma Sep 25, 2015
00eb419
Snippet to instrument XHR before boomerang.js has loaded
Sep 30, 2015
ec51d1a
Include NavigationTiming metrics for SPA navs
nicjansma Oct 3, 2015
ccf116b
XHRs need a cached start for addTimersToBeacon too
Oct 5, 2015
1c73452
AutoXHR: Stop waiting for IFRAMEs that are removed from the DOM
Oct 5, 2015
ddf082d
Mixin BOOMR properly
Oct 7, 2015
7279cb4
Use gruntify-eslint and lint updates
nicjansma Oct 8, 2015
4b5ee88
XHR before boomerang.js timing fixes
andreas-marschke Oct 13, 2015
b8de4ab
SPAs: Don't let constant MutationObserver events hold a timeout
nicjansma Oct 16, 2015
1cda724
Lock eslint to 1.6.0 for now
nicjansma Oct 16, 2015
2cfc9d7
Test for Bug 84041 - Boomerang being included twice on the page
nicjansma Oct 19, 2015
ca449c9
Tests for IFRAMEs referencing themselves
nicjansma Oct 19, 2015
ae149ea
Don't immediately fire page_ready if autorun is false
nicjansma Oct 22, 2015
871a9c6
Fixes SPA Test #19
nicjansma Oct 22, 2015
6c1f831
SPAs: Wait for onload before firing Hard Navs
Oct 23, 2015
2ff73df
Angular ui-router support and an option to filter routes
nicjansma Nov 4, 2015
b076ed1
Missed these test updates for 24-route-filter
nicjansma Nov 4, 2015
b7b560d
Set the sequences flag to false for UglifyJS for easier debugging
nicjansma Nov 4, 2015
4ecd6fd
Enable key-spacing ESLint rule and fix warnings
nicjansma Nov 6, 2015
347e010
Change back to previous form.submit() beacon behavior due to compat i…
nicjansma Nov 7, 2015
8b8894b
Added space-infix-ops ESLint rule and fixed issues
nicjansma Nov 10, 2015
e46919f
Added plugins.json
nicjansma Jun 24, 2016
735f279
Lint fixes
nicjansma Jun 24, 2016
50b2aad
ResourceTiming: Limit URL length
nicjansma Nov 16, 2015
313b7c9
Fix timing of third XHR so it doesn't have a race condition with xhr2…
nicjansma Nov 17, 2015
7ce7542
Ensure we don't send bad data from t_page inversions
nicjansma Nov 18, 2015
8fc5914
SPA: Ensure spa_hard beacon sent via hadRouteChange doesn't stomp on …
nicjansma Nov 18, 2015
88cf964
Reorganize .eslintrc, re-add pre-1.0 rules, fix minor lint things
nicjansma Nov 18, 2015
fdcf275
Lint fixes
nicjansma Jun 24, 2016
997fe1e
Remove partial test that was moved to SPA tests
nicjansma Nov 18, 2015
cd8c938
Build e2e.json before kicking off matrix test
nicjansma Nov 26, 2015
1bb62e6
Fixes for intermittent test failures
nicjansma Nov 27, 2015
c62fa8b
SPA Back-End and Front-End timing
nicjansma Dec 3, 2015
e4e4bd4
ResourceTiming: Capture resource dimensions
nicjansma Dec 9, 2015
02237b8
Add jsHeapSizeLimit to memory plugin so we can calculate % of used me…
nicjansma Dec 16, 2015
9755a8b
Fixes SPA Back-End and Front-End calculations
nicjansma Dec 18, 2015
a5cd0a8
SPA: React and window.history SPA support
andreas-marschke Dec 30, 2015
8a160ac
Use window.history if history is not passed into hook function
andreas-marschke Jan 13, 2016
5a9ca6f
Eslint: Ignore built React files
nicjansma Jan 13, 2016
bfbd558
Collect ResourceTiming2 sizes
nicjansma Jan 19, 2016
8e804a0
Gruntfile.js improvements
nicjansma Jan 19, 2016
40e9112
Race condition with manual beacons
nicjansma Jan 20, 2016
fe694b1
Boomerang events: registerEvent and fireEvent
nicjansma Jan 21, 2016
71afa61
try/catch around frame.frames to avoid Permission Denied
nicjansma Jan 25, 2016
e7a1928
alwaysSendXhr: Properly track error codes
nicjansma Jan 26, 2016
382f51a
Don't keep sourceMappingURL for production releases
nicjansma Jan 26, 2016
73bbf01
History: Support auto-instrumenting and onhashchange
andreas-marschke Jan 28, 2016
7014b45
Boomerang: Variable priority for URL
nicjansma Feb 3, 2016
04b811d
AutoXHR: Use original XHR.prototype
nicjansma Feb 8, 2016
ce8b9ee
Bug 101437: Check location.href before performance to avoid Chrome cr…
nicjansma Feb 10, 2016
b5a29eb
Remove useCapture flag from onhashchange
nicjansma Feb 20, 2016
b23a0fa
Misc fixes
nicjansma Feb 22, 2016
8608ec8
Use ESLint 2.0
nicjansma Feb 22, 2016
c81b49b
Navigation beacons being sent when autorun=false for prerender
nicjansma Feb 22, 2016
5d9a576
Bump grunt-saucelabs Version
nicjansma Feb 22, 2016
be46315
Added linebreak-style .eslint and fixed
nicjansma Jun 24, 2016
7f5d250
Safe access to window.performance
nicjansma Mar 12, 2016
2649531
Merge pull request #332 from SOASTA/bug-dependencies
Mar 15, 2016
ef1febf
Use XHR beacons instead of FORM.submit() for big URLs
nicjansma Mar 15, 2016
b562ce1
History 'auto' not working due to listening on wrong window
nicjansma Mar 15, 2016
27d840a
README copyright updated
Mar 21, 2016
5c523cc
rt.done: Don't BOOMR.debug whole edata object
nicjansma Mar 21, 2016
9c5bd04
History: transitionTo and replaceState were both calling setState
nicjansma Mar 21, 2016
7977b96
Make readable one line failure messages for e2e logs
andreas-marschke Mar 29, 2016
2fe40fd
Add window scrollX/Y at the time of beaconing
bluesmoon Apr 11, 2016
296d574
JavaScript Error Reporting
nicjansma Apr 11, 2016
74634f1
Repository cleanup
nicjansma Apr 11, 2016
57db0fa
Add /redirect to test server
nicjansma Apr 21, 2016
6252fa1
Add /chunked to test server
nicjansma Apr 21, 2016
9310fe8
/chunked: Send Last-Modified and Content-Length
nicjansma Apr 21, 2016
5cebc8f
Grunt: Build 12-react/*.jsx separate from other pages
nicjansma May 2, 2016
2321ac2
RT.getBoomerangTimings: Protect against undefined entry in getEntries…
nicjansma May 3, 2016
1a9121f
AutoXHR: Better bookkeeping for nodes that mutate several times (e.g.…
nicjansma May 3, 2016
854f06c
AutoXHR: Don't capture about/javascript/data URIs
nicjansma May 3, 2016
4e62863
Readme fix
querymetrics May 9, 2016
6b07508
Add banner and build flags to add banner to code
andreas-marschke May 12, 2016
9a53bb9
ResTiming: Don't send if we don't have JSON support
nicjansma May 12, 2016
a4d7ec2
Errors: window.console support when JSON doesn't exist
nicjansma May 12, 2016
de9203c
RT: Protect against null window/document
nicjansma May 12, 2016
472656e
AutoXHR.init: Check for BOOMR.window
nicjansma May 12, 2016
d10624e
Protect against null window
nicjansma May 12, 2016
8d27845
Fixed [rt.getBoomerangTimings] TypeError: Cannot read property 'perfo…
nicjansma May 12, 2016
7dfddb1
Memory.init: Check getBattery() returns a promise
nicjansma May 12, 2016
64171af
Third party analytics plugin
querymetrics May 16, 2016
dd6d22d
Fix bug with duplicate XHR URLs returning incorrect timing
querymetrics May 16, 2016
a77714e
Documentation using JSDoc and Markdown + AutoXHR docs
andreas-marschke May 21, 2016
0fae485
Adds a cross-domain test server
andreas-marschke May 21, 2016
e74015b
Errors: For setTimeout/setInterval, pass-thru string function args
nicjansma Jun 1, 2016
520fdf6
ResTiming: Don't track beacon URLs
nicjansma Jun 1, 2016
6abaccc
Fix missing data on prerendered pages when another beacon is sent bef…
nicjansma Jun 9, 2016
aa3ea57
ResTiming: Avoid browser bugs for browsers with NT but no RT support
nicjansma Jun 9, 2016
6750ee9
ResTiming: Allow a list of URLs to trim all data from (e.g. analytics…
nicjansma Jun 9, 2016
144de8f
Add support for IBM Site Promotion Analysis and Real Estate Analysis
querymetrics Jun 13, 2016
9d408a2
Rename GUID.js to guid.js
nicjansma Jun 26, 2016
eeb17f4
Boomerang package version 1.0
nicjansma Jun 26, 2016
b3ef45e
Remove extra ignores
nicjansma Jun 26, 2016
3a742dd
Removed bonus comma
nicjansma Jun 26, 2016
75afcd2
e2e.js: Allow disabled tests
nicjansma Jun 26, 2016
fca1a77
Wrap var init
nicjansma Jun 26, 2016
ff02b82
00-basic/01-unload: Call BOOMR.init() to ensure an unload beacon is sent
nicjansma Jun 26, 2016
e566d70
Removed mPulse-specific test
nicjansma Jun 26, 2016
6904b1e
test/server/route-delay.js: Default to a delay of 0
nicjansma Jun 26, 2016
dbbdf36
.eslint updated
nicjansma Jun 26, 2016
21aa4e0
Build boomerang-latest-debug.js with a custom plugin that runs BOOMR.…
nicjansma Jun 26, 2016
337376d
BOOMR_test new helper functions
nicjansma Jun 26, 2016
fd00fa5
Remove references to config.js
nicjansma Jun 26, 2016
cde8f54
If Boomerang isn't ready to send a beacon when BOOMR.responseEnd is c…
nicjansma Jun 26, 2016
db4dfda
AutoXHR: Queue XHRs if BOOMR isn't ready to send
nicjansma Jun 26, 2016
b70cb23
Test fixes
nicjansma Jun 27, 2016
46813b8
Merge pull request #92 from ryanhughes/package-install
nicjansma Jun 27, 2016
16d9ef2
Merged
nicjansma Jun 27, 2016
bc1dbf8
Minor fixes
nicjansma Jun 29, 2016
27aeed6
Add missing Mocha dev dependency (#107)
bripkens Oct 18, 2016
acc915a
Merged
nicjansma Oct 18, 2016
d49b90d
Merge pull request #98 from SOASTA/soasta-2016-q2
nicjansma Oct 19, 2016
709f03c
Update README to account for changed build procedure
bripkens Nov 24, 2016
a6e90db
Merge pull request #115 from bripkens/update-readme-docs
andreas-marschke Nov 25, 2016
1f8cadd
Wraps removeEventListener to work with the wrapped functions we use f…
nicjansma Jun 30, 2016
b52f5b6
Errors: console wrap bug with 2+ arguments
nicjansma Jul 28, 2016
ef88f7c
Limit the max stack length
nicjansma Jul 28, 2016
280edec
POST & Auth Token Support
tmartin14 Jan 5, 2017
0a03791
Minor lint fix
nicjansma Jan 5, 2017
da433a6
Fix beacon_auth_toke check
nicjansma Jan 13, 2017
ae7c951
Change beacon_auth_token default to 'undefined'
nicjansma Feb 17, 2017
8ae9907
Fix documentation about JSON POST
nicjansma Feb 17, 2017
c9186a7
SOASTA 2016 + 2017 Q1 Backport (#134)
nicjansma May 2, 2017
76fee9f
Make the errors plugin work without the Compression plugin (#138)
May 2, 2017
62ab83c
Minor changes
nicjansma May 2, 2017
a302e7e
Plugin to beacon User Timing API mark and measure entries (#77)
querymetrics May 2, 2017
fb7489b
ResTiming: Resource type filter (#139)
nicjansma May 13, 2017
8f29b05
BOOMR_mq method queue (#141)
cvazac May 16, 2017
d62ee8b
Fix download links
bluesmoon Oct 16, 2017
de071d0
about should be index
bluesmoon Oct 16, 2017
5d81b67
Fix download links
bluesmoon Oct 16, 2017
800a280
Fix documentation links and elaborate on contributors
bluesmoon Oct 30, 2017
2bed9de
Remove things we've done or will no longer do
bluesmoon Oct 30, 2017
024ab32
api and howtos are still html
bluesmoon Oct 30, 2017
316c0ae
fix links to api and howtos
bluesmoon Oct 30, 2017
dbfd67a
ja is still html
bluesmoon Oct 30, 2017
c43fa76
turn to markdown
bluesmoon Oct 30, 2017
e82d382
fix howto links
bluesmoon Oct 30, 2017
4c93b30
fix links for zip archives
bluesmoon Nov 20, 2017
610d283
Compare marks/measures to performance.now mark (#158)
tollmanz Nov 29, 2017
6295f92
Add support for Network Information API (#160)
tollmanz Dec 6, 2017
66e7e3d
Compressed ServerTiming (#153)
cvazac Dec 11, 2017
6b19b89
Errors: Support capture flag in options object passed in addEventList…
querymetrics Feb 22, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"directory": "tests/vendor",
"color" : false,
"interactive": false
}
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[*]
end_of_line = lf
insert_final_newline = true

[*.js]
indent_style = tab
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*.headers
112 changes: 112 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"env": {
"browser": true
},
"plugins": [
"html"
],
"globals": {
"BOOMR": true,
"BOOMR_start": true,
"BOOMR_lstart": true,
"BOOMR_onload": true,
"BOOMR_test": true,
"console": false,
"unescape": false,
"BOOMR_configt": true,
"BOOMR_check_doc_domain": true
},
"rules": {
//
// Rules that were enabled by default in pre-1.0 eslint
// https://github.com/eslint/eslint/blob/master/docs/user-guide/migrating-to-1.0.0.md
// re-enable all the ones we are not specifically disabling
//
"no-alert": 2,
"no-array-constructor": 2,
"no-caller": 2,
"no-catch-shadow": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-implied-eval": 2,
"no-iterator": 2,
"no-label-var": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-native-reassign": 2,
"no-new": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-process-exit": 2,
"no-proto": 2,
"no-return-assign": 2,
"no-script-url": 2,
"no-sequences": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-undef-init": 2,
"no-unused-expressions": 2,
"no-use-before-define": [2, { "functions": false }],
"no-with": 2,
"comma-spacing": 2,
"curly": [2, "all"],
"eol-last": 2,
"no-extra-parens": [2, "functions"],
"eqeqeq": 2,
"new-parens": 2,
"semi": 2,
"space-infix-ops": 2,
"yoda": [2, "never"],

//
// Changes over defaults
//
"keyword-spacing": 2,
"no-mixed-spaces-and-tabs": [2, true],
"quotes": [2, "double", "avoid-escape"],
"dot-notation": [2, {"allowKeywords": false}],
"space-unary-ops": 1,
"key-spacing": [1, {"beforeColon": false, "afterColon": true, "mode": "minimum"}],
"no-empty": 2,
"brace-style": [1, "stroustrup", { "allowSingleLine": true }],
"semi-spacing": [2, {"before": false, "after": true}],
"indent": [2, "tab", {"VariableDeclarator": 0}],
"space-before-function-paren": [2, "never"],
"no-trailing-spaces": [2, { "skipBlankLines": false }],
"linebreak-style": [2, "unix"],
"comma-dangle": [2, "never"],
"operator-linebreak": [2, "after"],
"space-in-parens": [2, "never"],

//
// Disabled rules
//

// We have a lot of variables in underscore_casing
"camelcase": 0,

// Not ready for strict-mode yet
"strict": 0,

// We have some functions like BOOMR_check_doc_domain or BOOMR.
"new-cap": 0,

// We use console.log for debugging
"no-console": 0,

// We use _s in a couple places for internal vars
"no-underscore-dangle": 0,

// We delete some global vars for compat with older IE versions
"no-delete-var": 0,

// We use spaces for alignment in many places
"no-multi-spaces": 0
}
}
25 changes: 23 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
.gitignore
*.gz
boomerang-*.js
*.swp
/boomerang-*.js
build/*
*.log
*.diff
.project
.settings/
tests/vendor/
tests/coverage/
tests/results/*
tests/pages/*
node_modules/
build/
tests/server/env.json
npm-debug.log
/tests/e2e/e2e.json
/tests/e2e/e2e-debug.json
tests/page-templates/12-react/support/app-component.js
tests/page-templates/12-react/support/app-component.js.map
tests/page-templates/12-react/support/app.js
*.#*
*#*
*~
Loading