-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This upgrade allows easy installs into Ember CLI apps, and is also fully backwards-compatible with globals-based Ember apps. * Convert from Coffeescript to JS * Restructure to use Ember CLI conventions * Blueprint to import Ember Table dependencies * New demo app * Example code is auto-built from files backing the demo * Add globals build, with build code in the `packaging` folder * Fix/change to LazyContainerView involving `childViews` See http://github.com/Addepar/ember-table-addon for more information.
- Loading branch information
Alex Zirbel
committed
May 22, 2015
1 parent
8df61e6
commit 710bd51
Showing
298 changed files
with
10,636 additions
and
9,926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"directory": "vendor" | ||
"directory": "bower_components", | ||
"analytics": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{diff,md}] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
/** | ||
Ember CLI sends analytics information by default. The data is completely | ||
anonymous, but there are times when you might want to disable this behavior. | ||
|
||
Setting `disableAnalytics` to true will prevent any data from being sent. | ||
*/ | ||
"disableAnalytics": false, | ||
"output-path": "ember-dist/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
bower_components/ | ||
build/ | ||
doc/ | ||
gh_pages/ | ||
node_modules/ | ||
tests/lib | ||
tests/css | ||
vendor/ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
.DS_Store | ||
|
||
# compiled output | ||
/tmp | ||
/ember-dist | ||
|
||
# dependencies | ||
/node_modules | ||
/bower_components | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage/* | ||
/libpeerconnection.log | ||
npm-debug.log | ||
testem.log | ||
|
||
# grunt-release-it | ||
.stage | ||
*.swo | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"predef": [ | ||
"document", | ||
"window", | ||
"-Promise" | ||
], | ||
"browser": true, | ||
"boss": true, | ||
"curly": true, | ||
"debug": false, | ||
"devel": true, | ||
"eqeqeq": true, | ||
"evil": true, | ||
"forin": false, | ||
"immed": false, | ||
"laxbreak": false, | ||
"newcap": true, | ||
"noarg": true, | ||
"noempty": false, | ||
"nonew": false, | ||
"nomen": false, | ||
"onevar": false, | ||
"plusplus": false, | ||
"regexp": false, | ||
"undef": true, | ||
"sub": true, | ||
"strict": false, | ||
"white": false, | ||
"eqnull": true, | ||
"esnext": true, | ||
"unused": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
bower_components/ | ||
tests/ | ||
|
||
.bowerrc | ||
.editorconfig | ||
.ember-cli | ||
.travis.yml | ||
.npmignore | ||
**/.gitkeep | ||
bower.json | ||
Brocfile.js | ||
testem.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
language: node_js | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
before_install: | ||
- "npm config set spin false" | ||
- "npm install -g npm@^2" | ||
|
||
install: | ||
- npm install -g bower | ||
- npm install | ||
- bower install | ||
|
||
script: | ||
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* global require, module */ | ||
|
||
var EmberAddon = require('ember-cli/lib/broccoli/ember-addon'); | ||
var fs = require('fs'); | ||
|
||
// Escape HTML using approach in | ||
// http://stackoverflow.com/questions/24816/escaping-html-strings-with-jquery | ||
var entityMap = { | ||
"&": "&", | ||
"<": "<", | ||
">": ">", | ||
'"': '"', | ||
"'": ''', | ||
"/": '/' | ||
}; | ||
|
||
function escapeHtml(string) { | ||
return String(string).replace(/[&<>"'\/]/g, function (s) { | ||
return entityMap[s]; | ||
}); | ||
} | ||
|
||
var app = new EmberAddon({ | ||
/* | ||
* Replace patterns. We use this to replace strings such as: | ||
* @@{controllers/file.js} | ||
* With the content of those files. | ||
*/ | ||
replace: { | ||
files: [ | ||
'**/*.js' | ||
], | ||
patterns: [{ | ||
match: /@@{([^}]*)}/g, | ||
replacement: function(matchedText) { | ||
filename = matchedText.slice(3, -1); | ||
fullFilename = './tests/dummy/app/' + filename; | ||
fileContents = fs.readFileSync(fullFilename, 'utf8'); | ||
return escapeHtml(fileContents).replace(/\n/g, '\\n'); | ||
} | ||
}] | ||
} | ||
}); | ||
|
||
app.import(app.bowerDirectory + '/d3/d3.js'); | ||
|
||
module.exports = app.toTree(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.