Skip to content

Commit 0c3a1dc

Browse files
authored
Merge pull request #588 from humphd/merge-master-brackets1.9
Fix #569: Merge Bramble with upstream Adobe Brackets (1.9 dev)
2 parents bd183e1 + 993650f commit 0c3a1dc

File tree

692 files changed

+40489
-27944
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

692 files changed

+40489
-27944
lines changed

.brackets.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,33 @@
22
"jslint.options": {
33
"vars": true,
44
"plusplus": true,
5+
"browser": false,
56
"devel": true,
67
"nomen": true,
8+
"indent": 4,
79
"maxerr": 50,
8-
"es5": true
10+
"es5": true,
11+
"predef": [
12+
"brackets",
13+
14+
"require",
15+
"define",
16+
"$",
17+
18+
"window",
19+
"setTimeout",
20+
"clearTimeout",
21+
22+
"ArrayBuffer",
23+
"XMLHttpRequest",
24+
"Uint32Array",
25+
"WebSocket"
26+
]
927
},
1028
"defaultExtension": "js",
1129
"language": {
1230
"javascript": {
13-
"linting.prefer": ["JSLint", "JSHint"],
31+
"linting.prefer": ["ESLint", "JSLint"],
1432
"linting.usePreferredOnly": true
1533
}
1634
},

.eslintrc.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"rules": {
3+
"no-bitwise": 0,
4+
"curly": 2,
5+
"eqeqeq": 2,
6+
"guard-for-in": 0,
7+
"wrap-iife": [2, "outside"],
8+
"no-use-before-define": 0,
9+
"new-cap": [0, {
10+
"capIsNewExceptions": [
11+
"$.Deferred",
12+
"$.Event",
13+
"CodeMirror.Pos",
14+
"Immutable.Map",
15+
"Immutable.List",
16+
"JSLINT"
17+
]}],
18+
"no-caller": 2,
19+
"no-empty": 0,
20+
"no-new": 2,
21+
"no-invalid-regexp": 2,
22+
"no-control-regex": 2,
23+
"no-regex-spaces": 2,
24+
"no-undef": 2,
25+
"strict": 2,
26+
"no-unused-vars": [0, {"vars": "all", "args": "none"}],
27+
"semi": 2,
28+
29+
"no-iterator": 2,
30+
"no-loop-func": 2,
31+
"no-multi-str": 2,
32+
"no-fallthrough": 2,
33+
"no-proto": 2,
34+
"no-script-url": 1,
35+
"no-shadow": 0,
36+
"no-shadow-restricted-names": 2,
37+
"no-new-func": 2,
38+
"no-new-wrappers": 2,
39+
"no-new-require": 2,
40+
"new-parens": 2,
41+
"no-new-object": 2,
42+
"no-invalid-this": 0,
43+
"indent": [0, 4],
44+
45+
"valid-jsdoc": 0,
46+
"valid-typeof": 2,
47+
48+
"no-trailing-spaces": 0,
49+
"eol-last": 0,
50+
"max-len": [1, 120]
51+
},
52+
"globals": {
53+
"brackets": false,
54+
55+
"require": false,
56+
"define": false,
57+
"$": false,
58+
59+
"window": false,
60+
"console": false,
61+
"setTimeout": false,
62+
"clearTimeout": false,
63+
64+
"ArrayBuffer": false,
65+
"XMLHttpRequest": false,
66+
"Uint32Array": false,
67+
"WebSocket": false
68+
},
69+
"env": {
70+
"browser": true
71+
}
72+
}

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Thumbs.db
99

1010
# ignore node_modules created by seldomly used documentation updating tool
1111
/src/extensions/extra/MDNDocs/tools/scrape-mdn/node_modules
12+
# ignore node_modules inside src
13+
/src/node_modules
14+
15+
# ignore files copied from node_modules to src/thirdparty
16+
/src/thirdparty/CodeMirror
17+
/src/thirdparty/less.min.js
1218

1319
# ignore compiled files
1420
/dist
@@ -23,11 +29,15 @@ Thumbs.db
2329

2430
/src/extensions/disabled
2531

32+
# ignore .disabled file for default extensions
33+
/src/extensions/default/*/.disabled
34+
2635
#OSX .DS_Store files
2736
.DS_Store
2837

2938
# unit test working directory
3039
/test/results
40+
/test/temp
3141

3242
# Netbeans
3343
/nbproject

.gitmodules

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
[submodule "src/thirdparty/CodeMirror"]
2-
path = src/thirdparty/CodeMirror
3-
url = https://github.com/adobe/CodeMirror2.git
41
[submodule "src/thirdparty/path-utils"]
52
path = src/thirdparty/path-utils
63
url = https://github.com/jblas/path-utils.git
74
[submodule "src/thirdparty/mustache"]
85
path = src/thirdparty/mustache
96
url = https://github.com/janl/mustache.js.git
10-
[submodule "src/extensions/default/JavaScriptCodeHints/thirdparty/tern"]
11-
path = src/extensions/default/JavaScriptCodeHints/thirdparty/tern
12-
url = https://github.com/marijnh/tern.git
13-
[submodule "src/extensions/default/JavaScriptCodeHints/thirdparty/acorn"]
14-
path = src/extensions/default/JavaScriptCodeHints/thirdparty/acorn
15-
url = https://github.com/marijnh/acorn.git
167
[submodule "src/thirdparty/requirejs"]
178
path = src/thirdparty/requirejs
189
url = https://github.com/jrburke/requirejs.git

.jshintrc

Lines changed: 0 additions & 70 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
2+
sudo: false # use container-based Travis infrastructure
23
node_js:
3-
- '4.3'
4-
sudo: false
4+
- "6"
55
before_script:
66
- npm install -g grunt-cli
77
script: grunt build-browser-compressed

CODE_OF_CONDUCT.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [[email protected]](mailto:[email protected]). All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [http://contributor-covenant.org/version/1/4][version]
72+
73+
[homepage]: http://contributor-covenant.org
74+
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)