Skip to content

Commit ca8092f

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

37 files changed

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

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
[*.hbs]
17+
insert_final_newline = false
18+
19+
[*.{diff,md}]
20+
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+
}

.eslintrc.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
root: true,
3+
parserOptions: {
4+
ecmaVersion: 2017,
5+
sourceType: 'module'
6+
},
7+
extends: 'eslint:recommended',
8+
env: {
9+
browser: true
10+
},
11+
rules: {
12+
}
13+
};

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://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

.travis.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
language: node_js
3+
node_js:
4+
- "6"
5+
6+
sudo: false
7+
8+
cache:
9+
directories:
10+
- $HOME/.npm
11+
- $HOME/.cache # includes bowers cache
12+
13+
before_install:
14+
- npm config set spin false
15+
- npm install -g bower phantomjs-prebuilt
16+
- bower --version
17+
- phantomjs --version
18+
19+
install:
20+
- npm install
21+
- bower install
22+
23+
script:
24+
- npm test

.watchmanconfig

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

README.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# super-rentals
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](https://git-scm.com/)
11+
* [Node.js](https://nodejs.org/) (with NPM)
12+
* [Bower](https://bower.io/)
13+
* [Ember CLI](https://ember-cli.com/)
14+
* [PhantomJS](http://phantomjs.org/)
15+
16+
## Installation
17+
18+
* `git clone <repository-url>` this repository
19+
* `cd super-rentals`
20+
* `npm install`
21+
* `bower install`
22+
23+
## Running / Development
24+
25+
* `ember serve`
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](https://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/)

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 './resolver';
3+
import loadInitializers from 'ember-load-initializers';
4+
import config from './config/environment';
5+
6+
let App;
7+
8+
Ember.MODEL_FACTORY_INJECTIONS = true;
9+
10+
App = Ember.Application.extend({
11+
modulePrefix: config.modulePrefix,
12+
podModulePrefix: config.podModulePrefix,
13+
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>SuperRentals</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="{{rootURL}}assets/vendor.css">
13+
<link rel="stylesheet" href="{{rootURL}}assets/super-rentals.css">
14+
15+
{{content-for "head-footer"}}
16+
</head>
17+
<body>
18+
{{content-for "body"}}
19+
20+
<script src="{{rootURL}}assets/vendor.js"></script>
21+
<script src="{{rootURL}}assets/super-rentals.js"></script>
22+
23+
{{content-for "body-footer"}}
24+
</body>
25+
</html>

app/models/.gitkeep

Whitespace-only changes.

app/resolver.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Resolver from 'ember-resolver';
2+
3+
export default Resolver;

app/router.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import Ember from 'ember';
2+
import config from './config/environment';
3+
4+
const Router = Ember.Router.extend({
5+
location: config.locationType,
6+
rootURL: config.rootURL
7+
});
8+
9+
Router.map(function() {
10+
});
11+
12+
export default Router;

app/routes/.gitkeep

Whitespace-only changes.

app/styles/app.css

Whitespace-only changes.

app/templates/application.hbs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{!-- The following component displays Ember's default welcome message. --}}
2+
{{welcome-page}}
3+
{{!-- Feel free to remove this! --}}
4+
5+
{{outlet}}

app/templates/components/.gitkeep

Whitespace-only changes.

bower.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "super-rentals",
3+
"dependencies": {
4+
}
5+
}

config/environment.js

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/* eslint-env node */
2+
3+
module.exports = function(environment) {
4+
var ENV = {
5+
modulePrefix: 'super-rentals',
6+
environment: environment,
7+
rootURL: '/',
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+
EXTEND_PROTOTYPES: {
15+
// Prevent Ember Data from overriding Date.parse.
16+
Date: false
17+
}
18+
},
19+
20+
APP: {
21+
// Here you can pass flags/options to your application instance
22+
// when it is created
23+
}
24+
};
25+
26+
if (environment === 'development') {
27+
// ENV.APP.LOG_RESOLVER = true;
28+
// ENV.APP.LOG_ACTIVE_GENERATION = true;
29+
// ENV.APP.LOG_TRANSITIONS = true;
30+
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
31+
// ENV.APP.LOG_VIEW_LOOKUPS = true;
32+
}
33+
34+
if (environment === 'test') {
35+
// Testem prefers this...
36+
ENV.locationType = 'none';
37+
38+
// keep test console output quieter
39+
ENV.APP.LOG_ACTIVE_GENERATION = false;
40+
ENV.APP.LOG_VIEW_LOOKUPS = false;
41+
42+
ENV.APP.rootElement = '#ember-testing';
43+
}
44+
45+
if (environment === 'production') {
46+
47+
}
48+
49+
return ENV;
50+
};

ember-cli-build.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* eslint-env node */
2+
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
3+
4+
module.exports = function(defaults) {
5+
var app = new EmberApp(defaults, {
6+
// Add options here
7+
});
8+
9+
// Use `app.import` to add additional libraries to the generated
10+
// output files.
11+
//
12+
// If you need to use different assets in different
13+
// environments, specify an object as the first parameter. That
14+
// object's keys should be the environment name and the values
15+
// should be the asset to use in that environment.
16+
//
17+
// If the library that you are including contains AMD or ES6
18+
// modules that you would like to import into your application
19+
// please specify an object with the list of modules as keys
20+
// along with the exports of each module as its value.
21+
22+
return app.toTree();
23+
};

package.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "super-rentals",
3+
"version": "0.0.0",
4+
"description": "Small description for super-rentals goes here",
5+
"license": "MIT",
6+
"author": "",
7+
"directories": {
8+
"doc": "doc",
9+
"test": "tests"
10+
},
11+
"repository": "",
12+
"scripts": {
13+
"build": "ember build",
14+
"start": "ember server",
15+
"test": "ember test"
16+
},
17+
"devDependencies": {
18+
"broccoli-asset-rev": "^2.4.5",
19+
"ember-ajax": "^2.4.1",
20+
"ember-cli": "2.12.1",
21+
"ember-cli-app-version": "^2.0.0",
22+
"ember-cli-babel": "^5.1.7",
23+
"ember-cli-dependency-checker": "^1.3.0",
24+
"ember-cli-eslint": "^3.0.0",
25+
"ember-cli-htmlbars": "^1.1.1",
26+
"ember-cli-htmlbars-inline-precompile": "^0.3.6",
27+
"ember-cli-inject-live-reload": "^1.4.1",
28+
"ember-cli-qunit": "^3.1.0",
29+
"ember-cli-shims": "^1.0.2",
30+
"ember-cli-sri": "^2.1.0",
31+
"ember-cli-uglify": "^1.2.0",
32+
"ember-data": "^2.12.0",
33+
"ember-export-application-global": "^1.0.5",
34+
"ember-load-initializers": "^0.6.0",
35+
"ember-resolver": "^2.0.3",
36+
"ember-source": "~2.12.0",
37+
"ember-welcome-page": "^2.0.2",
38+
"loader.js": "^4.2.3"
39+
},
40+
"engines": {
41+
"node": ">= 4"
42+
},
43+
"private": true
44+
}

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:

testem.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* eslint-env node */
2+
module.exports = {
3+
"test_page": "tests/index.html?hidepassed",
4+
"disable_watching": true,
5+
"launch_in_ci": [
6+
"PhantomJS"
7+
],
8+
"launch_in_dev": [
9+
"PhantomJS",
10+
"Chrome"
11+
]
12+
};

tests/.eslintrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
env: {
3+
embertest: true
4+
}
5+
};

tests/helpers/destroy-app.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import Ember from 'ember';
2+
3+
export default function destroyApp(application) {
4+
Ember.run(application, 'destroy');
5+
}

0 commit comments

Comments
 (0)