File tree 36 files changed +530
-0
lines changed
36 files changed +530
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "directory": "bower_components",
3
+ "analytics": false
4
+ }
Original file line number Diff line number Diff line change
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
4
+
5
+ root = true
6
+
7
+
8
+ [* ]
9
+ end_of_line = lf
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+ insert_final_newline = true
13
+ indent_style = space
14
+ indent_size = 2
15
+
16
+ [* .js ]
17
+ indent_style = space
18
+ indent_size = 2
19
+
20
+ [* .hbs ]
21
+ indent_style = space
22
+ indent_size = 2
23
+
24
+ [* .css ]
25
+ indent_style = space
26
+ indent_size = 2
27
+
28
+ [* .html ]
29
+ indent_style = space
30
+ indent_size = 2
31
+
32
+ [* .md ]
33
+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change
1
+ {
2
+ /**
3
+ Ember CLI sends analytics information by default. The data is completely
4
+ anonymous, but there are times when you might want to disable this behavior.
5
+
6
+ Setting `disableAnalytics` to true will prevent any data from being sent.
7
+ */
8
+ "disableAnalytics": false
9
+ }
Original file line number Diff line number Diff line change
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+
3
+ # compiled output
4
+ /dist
5
+ /tmp
6
+
7
+ # dependencies
8
+ /node_modules
9
+ /bower_components
10
+
11
+ # misc
12
+ /.sass-cache
13
+ /connect.lock
14
+ /coverage /*
15
+ /libpeerconnection.log
16
+ npm-debug.log
17
+ testem.log
Original file line number Diff line number Diff line change
1
+ {
2
+ "predef" : [
3
+ " document" ,
4
+ " window" ,
5
+ " -Promise"
6
+ ],
7
+ "browser" : true ,
8
+ "boss" : true ,
9
+ "curly" : true ,
10
+ "debug" : false ,
11
+ "devel" : true ,
12
+ "eqeqeq" : true ,
13
+ "evil" : true ,
14
+ "forin" : false ,
15
+ "immed" : false ,
16
+ "laxbreak" : false ,
17
+ "newcap" : true ,
18
+ "noarg" : true ,
19
+ "noempty" : false ,
20
+ "nonew" : false ,
21
+ "nomen" : false ,
22
+ "onevar" : false ,
23
+ "plusplus" : false ,
24
+ "regexp" : false ,
25
+ "undef" : true ,
26
+ "sub" : true ,
27
+ "strict" : false ,
28
+ "white" : false ,
29
+ "eqnull" : true ,
30
+ "esnext" : true ,
31
+ "unused" : true
32
+ }
Original file line number Diff line number Diff line change
1
+ ---
2
+ language : node_js
3
+
4
+ sudo : false
5
+
6
+ cache :
7
+ directories :
8
+ - node_modules
9
+
10
+ install :
11
+ - npm install -g bower
12
+ - npm install
13
+ - bower install
14
+
15
+ script :
16
+ - npm test
Original file line number Diff line number Diff line change
1
+ /* global require, module */
2
+
3
+ var EmberApp = require ( 'ember-cli/lib/broccoli/ember-app' ) ;
4
+
5
+ var app = new EmberApp ( ) ;
6
+
7
+ // Use `app.import` to add additional libraries to the generated
8
+ // output files.
9
+ //
10
+ // If you need to use different assets in different
11
+ // environments, specify an object as the first parameter. That
12
+ // object's keys should be the environment name and the values
13
+ // should be the asset to use in that environment.
14
+ //
15
+ // If the library that you are including contains AMD or ES6
16
+ // modules that you would like to import into your application
17
+ // please specify an object with the list of modules as keys
18
+ // along with the exports of each module as its value.
19
+
20
+ module . exports = app . toTree ( ) ;
Original file line number Diff line number Diff line change
1
+ # Api-emberjs-com
2
+
3
+ This README outlines the details of collaborating on this Ember application.
4
+
5
+ A short introduction of this app could easily go here.
6
+
7
+ ## Prerequisites
8
+
9
+ You will need the following things properly installed on your computer.
10
+
11
+ * [ Git] ( http://git-scm.com/ )
12
+ * [ Node.js] ( http://nodejs.org/ ) (with NPM) and [ Bower] ( http://bower.io/ )
13
+
14
+ ## Installation
15
+
16
+ * ` git clone <repository-url> ` this repository
17
+ * change into the new directory
18
+ * ` npm install `
19
+ * ` bower install `
20
+
21
+ ## Running / Development
22
+
23
+ * ` ember server `
24
+ * Visit your app at http://localhost:4200 .
25
+
26
+ ### Code Generators
27
+
28
+ Make use of the many generators for code, try ` ember help generate ` for more details
29
+
30
+ ### Running Tests
31
+
32
+ * ` ember test `
33
+ * ` ember test --server `
34
+
35
+ ### Building
36
+
37
+ * ` ember build ` (development)
38
+ * ` ember build --environment production ` (production)
39
+
40
+ ### Deploying
41
+
42
+ Specify what it takes to deploy your app.
43
+
44
+ ## Further Reading / Useful Links
45
+
46
+ * ember: http://emberjs.com/
47
+ * ember-cli: http://www.ember-cli.com/
48
+ * Development Browser Extensions
49
+ * [ ember inspector for chrome] ( https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi )
50
+ * [ ember inspector for firefox] ( https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/ )
51
+
Original file line number Diff line number Diff line change
1
+ import Ember from 'ember' ;
2
+ import Resolver from 'ember/resolver' ;
3
+ import loadInitializers from 'ember/load-initializers' ;
4
+ import config from './config/environment' ;
5
+
6
+ Ember . MODEL_FACTORY_INJECTIONS = true ;
7
+
8
+ var App = Ember . Application . extend ( {
9
+ modulePrefix : config . modulePrefix ,
10
+ podModulePrefix : config . podModulePrefix ,
11
+ Resolver : Resolver
12
+ } ) ;
13
+
14
+ loadInitializers ( App , config . modulePrefix ) ;
15
+
16
+ export default App ;
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
+ < title > ApiEmberjsCom</ title >
7
+ < meta name ="description " content ="">
8
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
9
+
10
+ {{content-for 'head'}}
11
+
12
+ < link rel ="stylesheet " href ="assets/vendor.css ">
13
+ < link rel ="stylesheet " href ="assets/api-emberjs-com.css ">
14
+ </ head >
15
+ < body >
16
+ {{content-for 'body'}}
17
+
18
+ < script src ="assets/vendor.js "> </ script >
19
+ < script src ="assets/api-emberjs-com.js "> </ script >
20
+ </ body >
21
+ </ html >
Original file line number Diff line number Diff line change
1
+ import Ember from 'ember' ;
2
+ import config from './config/environment' ;
3
+
4
+ var Router = Ember . Router . extend ( {
5
+ location : config . locationType
6
+ } ) ;
7
+
8
+ Router . map ( function ( ) {
9
+ } ) ;
10
+
11
+ export default Router ;
Original file line number Diff line number Diff line change
1
+ html , body {
2
+ margin : 20px ;
3
+ }
Original file line number Diff line number Diff line change
1
+ <h2 id =' title' >Welcome to Ember.js</h2 >
2
+
3
+ {{ outlet }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " api-emberjs-com" ,
3
+ "dependencies" : {
4
+ "handlebars" : " ~1.3.0" ,
5
+ "jquery" : " ^1.11.1" ,
6
+ "ember" : " 1.7.0" ,
7
+ "ember-data" : " 1.0.0-beta.10" ,
8
+ "ember-resolver" : " ~0.1.7" ,
9
+ "loader.js" : " stefanpenner/loader.js#1.0.1" ,
10
+ "ember-cli-shims" : " stefanpenner/ember-cli-shims#0.0.3" ,
11
+ "ember-cli-test-loader" : " rwjblue/ember-cli-test-loader#0.0.4" ,
12
+ "ember-load-initializers" : " stefanpenner/ember-load-initializers#0.0.2" ,
13
+ "ember-qunit" : " 0.1.8" ,
14
+ "ember-qunit-notifications" : " 0.0.4" ,
15
+ "qunit" : " ~1.15.0"
16
+ }
17
+ }
Original file line number Diff line number Diff line change
1
+ /* jshint node: true */
2
+
3
+ module . exports = function ( environment ) {
4
+ var ENV = {
5
+ modulePrefix : 'api-emberjs-com' ,
6
+ environment : environment ,
7
+ baseURL : '/' ,
8
+ locationType : 'auto' ,
9
+ EmberENV : {
10
+ FEATURES : {
11
+ // Here you can enable experimental features on an ember canary build
12
+ // e.g. 'with-controller': true
13
+ }
14
+ } ,
15
+
16
+ APP : {
17
+ // Here you can pass flags/options to your application instance
18
+ // when it is created
19
+ }
20
+ } ;
21
+
22
+ if ( environment === 'development' ) {
23
+ // ENV.APP.LOG_RESOLVER = true;
24
+ ENV . APP . LOG_ACTIVE_GENERATION = true ;
25
+ // ENV.APP.LOG_TRANSITIONS = true;
26
+ // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
27
+ ENV . APP . LOG_VIEW_LOOKUPS = true ;
28
+ }
29
+
30
+ if ( environment === 'test' ) {
31
+ // Testem prefers this...
32
+ ENV . baseURL = '/' ;
33
+ ENV . locationType = 'auto' ;
34
+
35
+ // keep test console output quieter
36
+ ENV . APP . LOG_ACTIVE_GENERATION = false ;
37
+ ENV . APP . LOG_VIEW_LOOKUPS = false ;
38
+
39
+ ENV . APP . rootElement = '#ember-testing' ;
40
+ }
41
+
42
+ if ( environment === 'production' ) {
43
+
44
+ }
45
+
46
+ return ENV ;
47
+ } ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " api-emberjs-com" ,
3
+ "version" : " 0.0.0" ,
4
+ "private" : true ,
5
+ "directories" : {
6
+ "doc" : " doc" ,
7
+ "test" : " tests"
8
+ },
9
+ "scripts" : {
10
+ "start" : " ember server" ,
11
+ "build" : " ember build" ,
12
+ "test" : " ember test"
13
+ },
14
+ "repository" : " https://github.com/stefanpenner/ember-cli" ,
15
+ "engines" : {
16
+ "node" : " >= 0.10.0"
17
+ },
18
+ "author" : " " ,
19
+ "license" : " MIT" ,
20
+ "devDependencies" : {
21
+ "body-parser" : " ^1.2.0" ,
22
+ "broccoli-asset-rev" : " 0.3.1" ,
23
+ "broccoli-ember-hbs-template-compiler" : " ^1.6.1" ,
24
+ "ember-cli" : " 0.1.2" ,
25
+ "ember-cli-content-security-policy" : " 0.3.0" ,
26
+ "ember-export-application-global" : " ^1.0.0" ,
27
+ "ember-cli-ic-ajax" : " 0.1.1" ,
28
+ "ember-cli-inject-live-reload" : " ^1.3.0" ,
29
+ "ember-cli-qunit" : " 0.1.0" ,
30
+ "ember-data" : " 1.0.0-beta.10" ,
31
+ "express" : " ^4.8.5" ,
32
+ "glob" : " ^4.0.5"
33
+ }
34
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
3
+ <cross-domain-policy >
4
+ <!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
5
+
6
+ <!-- Most restrictive policy: -->
7
+ <site-control permitted-cross-domain-policies =" none" />
8
+
9
+ <!-- Least restrictive policy: -->
10
+ <!--
11
+ <site-control permitted-cross-domain-policies="all"/>
12
+ <allow-access-from domain="*" to-ports="*" secure="false"/>
13
+ <allow-http-request-headers-from domain="*" headers="*" secure="false"/>
14
+ -->
15
+ </cross-domain-policy >
Original file line number Diff line number Diff line change
1
+ # robotstxt.org/
2
+
3
+ User-agent: *
Original file line number Diff line number Diff line change
1
+ {
2
+ "framework" : " qunit" ,
3
+ "test_page" : " tests/index.html" ,
4
+ "launch_in_ci" : [
5
+ " PhantomJS"
6
+ ],
7
+ "launch_in_dev" : [
8
+ " PhantomJS" ,
9
+ " Chrome"
10
+ ]
11
+ }
You can’t perform that action at this time.
0 commit comments