diff --git a/ng1-hosting-ng2/.bowerrc b/ng1-hosting-ng2/.bowerrc deleted file mode 100644 index 8c58c8efc9..0000000000 --- a/ng1-hosting-ng2/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "app/bower_components" -} \ No newline at end of file diff --git a/ng1-hosting-ng2/.gitignore b/ng1-hosting-ng2/.gitignore deleted file mode 100644 index 08f3db8518..0000000000 --- a/ng1-hosting-ng2/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -logs/* -!.gitkeep -typings/ -node_modules/ -bower_components/ -tmp -.DS_Store -.idea diff --git a/ng1-hosting-ng2/.jshintrc b/ng1-hosting-ng2/.jshintrc deleted file mode 100644 index 6f00218e37..0000000000 --- a/ng1-hosting-ng2/.jshintrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "globalstrict": true, - "globals": { - "angular": false, - "describe": false, - "it": false, - "expect": false, - "beforeEach": false, - "afterEach": false, - "module": false, - "inject": false - } -} \ No newline at end of file diff --git a/ng1-hosting-ng2/.travis.yml b/ng1-hosting-ng2/.travis.yml deleted file mode 100644 index cce5c682a8..0000000000 --- a/ng1-hosting-ng2/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: node_js -node_js: - - "0.10" - -before_script: - - export DISPLAY=:99.0 - - sh -e /etc/init.d/xvfb start - - npm start > /dev/null & - - npm run update-webdriver - - sleep 1 # give server time to start - -script: - - node_modules/.bin/karma start karma.conf.js --no-auto-watch --single-run --reporters=dots --browsers=Firefox - - node_modules/.bin/protractor e2e-tests/protractor.conf.js --browser=firefox diff --git a/ng1-hosting-ng2/LICENSE b/ng1-hosting-ng2/LICENSE deleted file mode 100644 index 8ae3a9877e..0000000000 --- a/ng1-hosting-ng2/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License - -Copyright (c) 2016 Alfresco - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - diff --git a/ng1-hosting-ng2/README.md b/ng1-hosting-ng2/README.md deleted file mode 100644 index 54aef80d99..0000000000 --- a/ng1-hosting-ng2/README.md +++ /dev/null @@ -1,32 +0,0 @@ -### Install Dependencies - -We have two kinds of dependencies in this project: tools and angular framework code. The tools help -us manage and test the application. - -* We get the tools we depend upon via `npm`, the [node package manager][npm]. -* We get the angular code via `bower`, a [client-side code package manager][bower]. - -We have preconfigured `npm` to automatically run `bower` so we can simply do: - -``` -npm install -``` - -Behind the scenes this will also call `bower install`. You should find that you have two new -folders in your project. - -* `node_modules` - contains the npm packages for the tools we need -* `app/bower_components` - contains the angular framework files - -*Note that the `bower_components` folder would normally be installed in the root folder but -angular-seed changes this location through the `.bowerrc` file. Putting it in the app folder makes -it easier to serve the files by a webserver.* - -### Run the Application - -We have preconfigured the project with a simple development web server. The simplest way to start -this server is: - -``` -npm start -``` diff --git a/ng1-hosting-ng2/app/app.component.js b/ng1-hosting-ng2/app/app.component.js deleted file mode 100644 index a256177545..0000000000 --- a/ng1-hosting-ng2/app/app.component.js +++ /dev/null @@ -1,45 +0,0 @@ -System.register(['angular2/core', "./components/ng2/tabs"], function(exports_1, context_1) { - "use strict"; - var __moduleName = context_1 && context_1.id; - var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; - }; - var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); - }; - var core_1, tabs_1; - var AppComponent; - return { - setters:[ - function (core_1_1) { - core_1 = core_1_1; - }, - function (tabs_1_1) { - tabs_1 = tabs_1_1; - }], - execute: function() { - AppComponent = (function () { - function AppComponent() { - this.target = 'http://192.168.99.100:8080/alfresco/service/api/upload'; - this.multi = 'true'; - this.accept = 'image/*'; - this.droppable = false; - } - AppComponent = __decorate([ - core_1.Component({ - selector: 'my-app', - template: "\n
This is the partial for view 1.
- -This is the partial for view 2.
-- Showing of 'interpolate' filter: - {{ 'Current version is v%VERSION%.' | interpolate }} -
-This is the partial for view 3 (ng1)
- -