Skip to content

Commit ba4db28

Browse files
committed
Initial Commit from Ember CLI v0.1.2
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,....,,........,.. . . .,..........., ,,,,,,,,,,,,,,,:...,,.,,,,,,,,,,,,,,,,,,,,,.,,.,,......... .~.::::. .........., ,,,,,,,,,,,,. .. .. .. ..,... ,+7ZOOOZ7=, . .,..... ~.=:::::: .........., ,,,,,,,,,, .====IIIIISZ. .. 7ZSIIIIIIIIIIIIIII7ZO... .::..+:::::::= .........., ,,,,,,,,, .=~:~~:~==IIIIII7ZIIIIIIIIIIIIIIIIIIIIIIISZ:....+::::::::, .........., ,,,,,,,,, :::~~~~~~~==77ZIIIIIIIIIIIIIIIIIIIIIIIIIII7O..=~:::::::~............, ,,,,,,,,,..~:::~~~~~~~=ZIIIII77777777777IIIIIIIIIIIIIIIZ==::::::::. :.........., ,,,,,,,,,,. ::::~~~~~:=I7777777777777777777777IIIIIIIIIIS=:::::::. ............, ,,,,,,,,,,. .::,:~~~:::SO8DD8OSII7777777777777777IIIIIIIIZ:::::: ............., ,,,,,,,,,,,, .~M8ZD888OOOOOOOOOOO8DMM7I77I7Z8NMMMMNDZIIIIIZ:::+. .............., ,,,,,,,,,,,,=. ZM888DD,::,,,,,:SN88O88DDD88OOO88888888OO8MM~=.S, .............., ,,,,,,,,,,,,,~ N8D: :88NMMM888O,,,...,:,=NDD8~:88M..,............, ,,,,,,,,,,,,,,, .M8D, MS ,8DZS7SM8S. .,ND8DNM..............., ,,,,,,,,,,,,,,,. ,DD OMN .O8M777S88M =D ?DD~ ... ............ ,,,,,,,,,,,,,,,,. M8~. .M. ~8M77777SM8. DMO .ND= .. ............. ,,,,,,,,,,,,,,,, .~M8: =8D877777SMDN. M, DM= .................. ,,,,,,,,,,,,,,, :.~M8NO?=:=?ZM88DMS7===I77N8M. .MM7S .................. ,,,,,,,,,,,,,, :...=7MNDDDDDNMMNSS777?777SZND888NDS+==O8M7IIZ.................. ,,,,,,,,,,,,, :.....,,,:~~=SSSS77777777777SS7NMMNDDDDDNM7IIIIS................. ,,,,,,,,,,,,..~.......,,,,,,,=777777777777777777SZMMOS777IIIIIS ................ ,,,,,,,,,,,, ~..........:~~:,,,:?7777777SSS8MMMN88DZ777777IIIII+.~+?I777777II?+= ,,,,,,,,,,,.:..............?N8DNNN++=~~::,,NN8888D=,,......IIIIO.SZZZZZZZZZZZZZZ ,,,,,,,,,,. :................N8888S...,....M88888O,,,........IIZ.~77IIIIIIII7777 ,,,,,,,,,, :...........,.....+8888N....,...NN888M,,,.........,IS.:II77IIIIIIIIII ,,,,,,,,,, ~.................,M88D+~...~..===~+M,,,...........IO.=++?I7777IIIIII ,,,,,,,,,,.~.................,,DM=====::::::::::,,............I7 =====+?I777IIII .......... ,.................,:M===:::::::::::=,,............~7 .==++====+?I77II ..........,.~.................,,=:::::::::,. ,,,.............IS .. .===+====?I77 ,,,,,,,,,,, ~.......................,,,. ..,. ............:Z. .+. ======?I ,,,,,,,,,,,, .~........................ .S7777 ............:. .~:,. =..======= .............,.~,...................., .777S77S ..........~. . .::=+::. ======= ,,,,,,,,,,,,,,=. .~....................777 .777.........,:Z .:::::::~....~===== .................:..::............... 77+ 77S......~:777ZZ .=::::::::, :~~=== ,,,,,,,,,,,,,,,,,, .ZZ7I::............S77..S77? ~:,,~+7777Z7Z7I7+~::~+ ~~::~= ,,,,,,,,,,,,,,,,, .ZZ7777~,,,:~~~::: 77I ~777 ,,,,,,,=777IIIII77O. . ~~~~~~:: ,,,,,,,,,,,,,,,,. ,ZZII7=,,,,,,,,,,. =77 .777. .,,,,,,...:IIIIII7Z :~~~~~~~~~~~ ........,.. .... ., . 7~.. .,,. ..,. 777.777= ....... . .III+ . .~. ~~~~~~~~ ....... . . . ,. . . . .. .S77777?. .... ..7S7 , ... :~~~~~~ ...... .S777777. +77+ 7777 777S .777777777? .S777777 77?.S777 .~~~~~~ ..... .7777.+777 .S77. 7777+.7777I 7777777777I .S77S.?77+ I77+S7777 .~~~~~~ .... 777S 77I 777 77777 77777: ,777~. .7777. 777S. 77: .777+7777? .~.. :~ ,. 777 .S77. ?77SS7777SS77777 I77S ?777. 777 .S77. .77777 777 .:. : 7S==7777777= .S77777 77777 77S. .S77, 777I ?7777777S. I77777.777SS777+ . :77777777S,. .:77777 =7777= 77S. .777. .777..7777777?. .I77777. ,777777. .~ ..7777+... S7777777 7777S. 77S. S777. .S7777777777S .. S777777+ . ..: . ..~~ ,,,. .S7777777777777S. S777, 777777777777777777S. 77777777777777S..~~,. .:~~~~~ :::::..~777777I..S77. 77S .S777S .?77777S?.. .. S77777S ?77 :~~~~~~~~~~~~ ..... ..... . . ... ... .. . ..==::. ... . . ..~~~~~~~~~~~~~ .........,.,:.....,:.....=.....,,....,.:.... ...:+~::::,,::::::,:~~~~~~~~~~~~~~~
0 parents  commit ba4db28

36 files changed

+530
-0
lines changed

.bowerrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"directory": "bower_components",
3+
"analytics": false
4+
}

.editorconfig

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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

.ember-cli

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+
}

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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

.jshintrc

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
}

.travis.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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

Brocfile.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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();

README.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+

app/app.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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;

app/components/.gitkeep

Whitespace-only changes.

app/controllers/.gitkeep

Whitespace-only changes.

app/helpers/.gitkeep

Whitespace-only changes.

app/index.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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>

app/models/.gitkeep

Whitespace-only changes.

app/router.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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;

app/routes/.gitkeep

Whitespace-only changes.

app/styles/.gitkeep

Whitespace-only changes.

app/styles/app.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
html, body {
2+
margin: 20px;
3+
}

app/templates/.gitkeep

Whitespace-only changes.

app/templates/application.hbs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<h2 id='title'>Welcome to Ember.js</h2>
2+
3+
{{outlet}}

app/templates/components/.gitkeep

Whitespace-only changes.

app/views/.gitkeep

Whitespace-only changes.

bower.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
}

config/environment.js

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
};

package.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
}

public/.gitkeep

Whitespace-only changes.

public/crossdomain.xml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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>

public/robots.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# robotstxt.org/
2+
3+
User-agent: *

testem.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
}

0 commit comments

Comments
 (0)