Skip to content

Commit 201332f

Browse files
committed
Initial Commit from Ember CLI v0.2.7
_..., ,:^;,...; -+===;. ,,--++====++-,,, .: /....., :::::~+++++#:,+#++++++++++++++++++#*..: /,...... (,,,,,,::=+++##++++++++++++++++++++++#. :....../ ...,,,,,::++++++++++++++++++++++++++++++*..,...: *..+...,#@@@@@@@@@++++++++++++++++++++++#*....* @#,;##############@@@+*+#@@@@@@@@@@#*++#..< *@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+ @#@* @#@@@@#@@+--*^^*--#@@@@@@# @#@. @# @##+++@#, .@@#@@ #@# @@ +@@++++#@@ @@ :@@ :@#* @#@++++++@#* #@ @@+ :*+@@#;,.__.+@#@+,-^^.++@# @@++ ;* :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++. /* ........+++++++++++++#@@@@@###@@#++++, ,: ...,@@@#++===----==@@@####,,....+++++ .: ......@@##@\ ; :@####@,,...... +++. ; .........@###, ; ;xx#@;,,..... *;+, | ........,*;xxxx--^--=xxx,........ :+#; ; ......,,;xxxxxxxxxxxxx;,..... *+# ; ......,::xxxx;. ...... +. . *; ......... +### .... / ,. /:| ,. .+: ... ;##++##, . ,#. (..v..;*./ ** ## ###* .:*&&&+. \.,....<, #&+**==-..,,__ ;## ### :,*+&&&&&&&v+#&,,.._/ #&&&&*...,::,,. ##; ,##* .*****;:&&&&&&&&& ,+*+;~*..*** *.* ### ###* ******* *+#&;* ##,;## **** :, ** ##### ## ### ###, ######## .##### ;## ## ####### ;## #### ,###. ########## ######## ### #### ### ### ### ########## #### #### ,## ### #######* ### ,### ##############: ## ### #### ,## :#### ### ##; ########## ########### ## .## ,### ####### ##### :###### ###### .###### #### ## ### ### ######* :##### #### ############# #### ################ ######## ### #####* *#* #: :### *###* *#### #*
0 parents  commit 201332f

33 files changed

+502
-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

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
insert_final_newline = false
22+
indent_style = space
23+
indent_size = 2
24+
25+
[*.css]
26+
indent_style = space
27+
indent_size = 2
28+
29+
[*.html]
30+
indent_style = space
31+
indent_size = 2
32+
33+
[*.{diff,md}]
34+
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

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
language: node_js
3+
node_js:
4+
- "0.12"
5+
6+
sudo: false
7+
8+
cache:
9+
directories:
10+
- node_modules
11+
12+
before_install:
13+
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
14+
- "npm config set spin false"
15+
- "npm install -g npm@^2"
16+
17+
install:
18+
- npm install -g bower
19+
- npm install
20+
- bower install
21+
22+
script:
23+
- npm test

.watchmanconfig

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ignore_dirs": ["tmp"]
3+
}

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

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Emberapp
2+
3+
This README outlines the details of collaborating on this Ember application.
4+
A short introduction of this app could easily go here.
5+
6+
## Prerequisites
7+
8+
You will need the following things properly installed on your computer.
9+
10+
* [Git](http://git-scm.com/)
11+
* [Node.js](http://nodejs.org/) (with NPM)
12+
* [Bower](http://bower.io/)
13+
* [Ember CLI](http://www.ember-cli.com/)
14+
* [PhantomJS](http://phantomjs.org/)
15+
16+
## Installation
17+
18+
* `git clone <repository-url>` this repository
19+
* change into the new directory
20+
* `npm install`
21+
* `bower install`
22+
23+
## Running / Development
24+
25+
* `ember server`
26+
* Visit your app at [http://localhost:4200](http://localhost:4200).
27+
28+
### Code Generators
29+
30+
Make use of the many generators for code, try `ember help generate` for more details
31+
32+
### Running Tests
33+
34+
* `ember test`
35+
* `ember test --server`
36+
37+
### Building
38+
39+
* `ember build` (development)
40+
* `ember build --environment production` (production)
41+
42+
### Deploying
43+
44+
Specify what it takes to deploy your app.
45+
46+
## Further Reading / Useful Links
47+
48+
* [ember.js](http://emberjs.com/)
49+
* [ember-cli](http://www.ember-cli.com/)
50+
* Development Browser Extensions
51+
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
52+
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
53+

app/app.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
var App;
7+
8+
Ember.MODEL_FACTORY_INJECTIONS = true;
9+
10+
App = Ember.Application.extend({
11+
modulePrefix: config.modulePrefix,
12+
podModulePrefix: config.podModulePrefix,
13+
Resolver: Resolver
14+
});
15+
16+
loadInitializers(App, config.modulePrefix);
17+
18+
export default App;

app/components/.gitkeep

Whitespace-only changes.

app/controllers/.gitkeep

Whitespace-only changes.

app/helpers/.gitkeep

Whitespace-only changes.

app/index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<title>Emberapp</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/emberapp.css">
14+
15+
{{content-for 'head-footer'}}
16+
</head>
17+
<body>
18+
{{content-for 'body'}}
19+
20+
<script src="assets/vendor.js"></script>
21+
<script src="assets/emberapp.js"></script>
22+
23+
{{content-for 'body-footer'}}
24+
</body>
25+
</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/app.css

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.

bower.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "emberapp",
3+
"dependencies": {
4+
"ember": "1.12.0",
5+
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
6+
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
7+
"ember-data": "1.0.0-beta.18",
8+
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4",
9+
"ember-qunit": "0.3.3",
10+
"ember-qunit-notifications": "0.0.7",
11+
"ember-resolver": "~0.1.15",
12+
"jquery": "^1.11.1",
13+
"loader.js": "ember-cli/loader.js#3.2.0",
14+
"qunit": "~1.17.1"
15+
}
16+
}

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: 'emberapp',
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 = 'none';
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

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "emberapp",
3+
"version": "0.0.0",
4+
"description": "Small description for emberapp goes here",
5+
"private": true,
6+
"directories": {
7+
"doc": "doc",
8+
"test": "tests"
9+
},
10+
"scripts": {
11+
"start": "ember server",
12+
"build": "ember build",
13+
"test": "ember test"
14+
},
15+
"repository": "",
16+
"engines": {
17+
"node": ">= 0.10.0"
18+
},
19+
"author": "",
20+
"license": "MIT",
21+
"devDependencies": {
22+
"broccoli-asset-rev": "^2.0.2",
23+
"ember-cli": "0.2.7",
24+
"ember-cli-app-version": "0.3.3",
25+
"ember-cli-babel": "^5.0.0",
26+
"ember-cli-content-security-policy": "0.4.0",
27+
"ember-cli-dependency-checker": "^1.0.0",
28+
"ember-cli-htmlbars": "0.7.6",
29+
"ember-cli-ic-ajax": "0.1.1",
30+
"ember-cli-inject-live-reload": "^1.3.0",
31+
"ember-cli-qunit": "0.3.13",
32+
"ember-cli-uglify": "^1.0.1",
33+
"ember-data": "1.0.0-beta.18",
34+
"ember-disable-proxy-controllers": "^1.0.0",
35+
"ember-export-application-global": "^1.0.2"
36+
}
37+
}

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+
# http://www.robotstxt.org
2+
User-agent: *
3+
Disallow:

0 commit comments

Comments
 (0)