Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MK #6

Open
wants to merge 687 commits into
base: comet-dev
Choose a base branch
from
Open

MK #6

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
687 commits
Select commit Hold shift + click to select a range
51b15c8
Update README.md
mosesag0813 May 11, 2016
6ef794b
Update README.md
mosesag0813 May 11, 2016
620b419
Update README.md
mosesag0813 May 11, 2016
8a45e31
Debug errors and fix
mosesag0813 May 11, 2016
63a6ed8
Update .ices
mosesag0813 May 11, 2016
11837bc
Update .ices
mosesag0813 May 11, 2016
bf08fc5
Update README.md
mosesag0813 May 11, 2016
e7da9aa
Update package.json
mosesag0813 May 11, 2016
7116bbe
Update README.md
mosesag0813 May 11, 2016
d58682f
Update button.js
mosesag0813 May 11, 2016
c417683
update deps
mosesag0813 May 11, 2016
6601955
Remove npm shrinkwrap
mosesag0813 May 11, 2016
5b87279
Remove npm JSON
mosesag0813 May 11, 2016
0b32b50
Update package.json
mosesag0813 May 11, 2016
35eee74
Update package.json
mosesag0813 May 11, 2016
e493884
Revert version
mosesag0813 May 11, 2016
2d1637d
Update main.js
mosesag0813 May 11, 2016
4ed134f
Create app.js
mosesag0813 May 11, 2016
13f23bb
Create app64.js
mosesag0813 May 11, 2016
feead02
Rename app.js to app32.js
mosesag0813 May 11, 2016
a328a04
Update package.json
mosesag0813 May 11, 2016
8f917c5
Create appveyor.yml
mosesag0813 May 13, 2016
d0a5619
Update README.md
mosesag0813 May 13, 2016
d0db227
Add firefox copyrighted code for development
mosesag0813 May 13, 2016
692d382
Delete Makefile.in
mosesag0813 May 13, 2016
11e4014
Delete firefox.exe.manifest
mosesag0813 May 13, 2016
ccbb815
Delete mozicon50.xpm
mosesag0813 May 13, 2016
cfe3e3b
Delete unneccessary files
mosesag0813 May 13, 2016
a854b91
Update firefox.js
mosesag0813 May 13, 2016
570e041
Delete Makefile.in
mosesag0813 May 13, 2016
382b082
turn to javascript
mosesag0813 May 13, 2016
d50e562
Update firefox.js
mosesag0813 May 13, 2016
5fe3ed2
Delete even more files
mosesag0813 May 13, 2016
651bf97
Delete Makefile.in
mosesag0813 May 13, 2016
90d57ee
Update and rename README.txt to README.md
mosesag0813 May 13, 2016
3a5abcc
Create package.json
mosesag0813 May 13, 2016
271f783
Update app32.js
mosesag0813 May 13, 2016
005452a
Use CEF for desktop initialization
mosesag0813 May 13, 2016
f520a4f
Create package.json
mosesag0813 May 13, 2016
369318b
Create .ices
mosesag0813 May 13, 2016
ce5f1b1
Update app64.js
mosesag0813 May 13, 2016
76cb57a
Update README.md
mosesag0813 May 13, 2016
e8e0b38
Update README.md
mosesag0813 May 13, 2016
f681f92
Delete install.rdf.in
mosesag0813 May 13, 2016
6e16e6f
Update windows.js
mosesag0813 May 13, 2016
8aadb47
Create LICENSE.md
mosesag0813 May 13, 2016
7acd9b7
Create LICENSE.md
mosesag0813 May 13, 2016
28998b9
Delete default16.png
mosesag0813 May 13, 2016
25be3bb
Delete default32.png
mosesag0813 May 13, 2016
6c6156b
Delete default48.png
mosesag0813 May 13, 2016
ca40c4b
Rename README.txt to README.md
mosesag0813 May 13, 2016
4ff6a0e
Delete testPkg.js
mosesag0813 May 13, 2016
9252dbc
Update package.cfg
mosesag0813 May 13, 2016
9a40a99
Update button.js
mosesag0813 May 13, 2016
f37c99d
Update textBox.js
mosesag0813 May 13, 2016
84245bb
Update button.js
mosesag0813 May 15, 2016
b1e71ca
Update comet-dev.js
mosesag0813 May 15, 2016
b172940
Create app-firefox-window.js
mosesag0813 May 16, 2016
0e28027
Update app-firefox-window.js
mosesag0813 May 16, 2016
303bc28
Update button.js
mosesag0813 May 16, 2016
49463c1
Update comet.min.js
mosesag0813 May 16, 2016
a4d3368
Update comet.min.js
mosesag0813 May 16, 2016
382bb56
Update .ices
mosesag0813 May 16, 2016
c1c518b
Update application.ini
mosesag0813 May 16, 2016
b8d6f31
Update app-firefox-window.js
mosesag0813 May 16, 2016
e639a44
Create app-firefox-start.js
mosesag0813 May 16, 2016
6ba6e93
Create firefox-extract.js
mosesag0813 May 16, 2016
9eb3c7f
Create utils-web.html
mosesag0813 May 16, 2016
323118b
Create devel.sh
mosesag0813 May 16, 2016
b34215d
Create test.sh
mosesag0813 May 16, 2016
0d36928
Create comet.sh
mosesag0813 May 16, 2016
b8054fa
Update update.js
mosesag0813 May 16, 2016
a469087
Add files via upload
mosesag0813 May 16, 2016
f994c0f
Update button.js
mosesag0813 May 16, 2016
197f408
Create jquery.min.js
mosesag0813 May 16, 2016
6dca486
Update README.md
mosesag0813 May 16, 2016
40dbd01
Update comet-app.js
comet-bot May 17, 2016
b38516c
Update api.js
comet-bot May 17, 2016
25db872
Update package.json
comet-bot May 17, 2016
d7bf33f
Update README.md
mosesag0813 May 18, 2016
8ef8d6d
Update README.md
mosesag0813 May 18, 2016
ddc2705
Update README.md
mosesag0813 May 18, 2016
219123e
Update README.md
mosesag0813 May 19, 2016
862c374
Update README.md
mosesag0813 May 19, 2016
079f1e9
Update comet
mosesag0813 May 24, 2016
a6e042f
Update deploy
mosesag0813 May 24, 2016
90b49d9
Update deploy
mosesag0813 May 24, 2016
e9423f9
Update develop
mosesag0813 May 24, 2016
2ab637b
Create README.md
mosesag0813 May 24, 2016
ee31d5b
More folders and files
mosesag0813 May 24, 2016
8e4b8a9
Rename New Text Document.txt to browser-window-desktop.js
mosesag0813 May 24, 2016
5f3a705
Update README.md
mosesag0813 May 24, 2016
7b45d87
Create chromium-init-window.cc
mosesag0813 May 24, 2016
60ace0e
Update button.js
mosesag0813 May 24, 2016
356c7ab
Update and rename New Text Document.txt to windows_create.js
mosesag0813 May 24, 2016
ab48f3c
Create build_app.js
mosesag0813 May 24, 2016
24dd3e9
Create comet.js
mosesag0813 May 24, 2016
2ffc1b5
Create save.js
mosesag0813 May 24, 2016
17e6355
Create storage.js
mosesag0813 May 24, 2016
d4c228f
Create storage_events.js
mosesag0813 May 24, 2016
6defa94
Update app-firefox-window.js
mosesag0813 May 25, 2016
48d5017
Update package.json
comet-bot May 26, 2016
bf4f22e
Create .save
mosesag0813 May 26, 2016
1b6319a
Update build.js
mosesag0813 May 26, 2016
623d0d6
Update develop.js
mosesag0813 May 26, 2016
95f7871
Update button.js
mosesag0813 May 26, 2016
2d83ee1
Update button.js
mosesag0813 May 26, 2016
385acfc
Update button.js
mosesag0813 May 26, 2016
175bb66
Rename button.js to standard_button.js
mosesag0813 May 26, 2016
b11336b
Update and rename New Text Document.txt to button.js
mosesag0813 May 26, 2016
05d6270
Framework folder pending
mosesag0813 Jun 2, 2016
789315b
Rename comet/framework/mvc/New Text Document.txt to comet/models.js
mosesag0813 Jun 3, 2016
cd9d7a5
Delete models.js
mosesag0813 Jun 3, 2016
d58bb35
Fix error
Jun 3, 2016
2899d79
Rename comet/framework/browser/base_browser/loaders/New Text Document…
mosesag0813 Aug 2, 2016
6eabe7d
Update main.js
mosesag0813 Aug 4, 2016
37e8da8
Update app.js
mosesag0813 Aug 5, 2016
b6a0984
Update app.js
mosesag0813 Aug 5, 2016
e032e1d
Update comet-app.js
mosesag0813 Aug 5, 2016
83dc1f4
Rename chromium/New Text Document.txt to a
mosesag0813 Aug 5, 2016
fc4e353
Delete a
mosesag0813 Aug 5, 2016
7b41397
Create base
mosesag0813 Aug 5, 2016
cf78e66
Rename comet/builds/New Text Document.txt to comet/builds/chrome/buil…
mosesag0813 Aug 7, 2016
4b19838
Rename New Text Document.txt to base.js
mosesag0813 Aug 7, 2016
25e45ef
Update app.js
mosesag0813 Aug 7, 2016
c726499
Create application.js
mosesag0813 Aug 13, 2016
1b65d82
Update app.js
mosesag0813 Aug 14, 2016
8e43ac2
Rename comet/framework/mvc/New Text Document.txt to comet/framework/m…
mosesag0813 Aug 14, 2016
76879c8
Delete base
mosesag0813 Aug 14, 2016
1faf94d
Update README.md
mosesag0813 Aug 14, 2016
3f63c1e
Update README.md
mosesag0813 Aug 14, 2016
fbad607
Update comet-app.js
mosesag0813 Aug 14, 2016
c6f9269
Export application to display
mosesag0813 Aug 14, 2016
588b400
Update app.js
mosesag0813 Aug 14, 2016
661235e
Update button.js
mosesag0813 Aug 14, 2016
c254d31
Rename test/test.js to test/tests/go
mosesag0813 Aug 14, 2016
754a5b0
Update and rename New Text Document.txt to moz.buikd
mosesag0813 Aug 16, 2016
0118f9c
Rename moz.buikd to moz.build
mosesag0813 Aug 16, 2016
61c3f70
Rename packages/comet-application/application.js to packages/comet-ap…
mosesag0813 Aug 16, 2016
58993a4
Create startButton.js
mosesag0813 Aug 16, 2016
e13a207
Delete firefox-extract.js
mosesag0813 Aug 16, 2016
2133a0a
Update nsBrowserApp.cpp
mosesag0813 Aug 16, 2016
02322ec
Update comet.js
mosesag0813 Aug 17, 2016
9236b2a
Update comet
mosesag0813 Aug 18, 2016
632f93c
Update comet.js
mosesag0813 Aug 18, 2016
34f8a69
Create package.json
mosesag0813 Aug 20, 2016
440e46f
Change several words
mosesag0813 Aug 20, 2016
9f7ae73
Update main.js
mosesag0813 Aug 21, 2016
1aab53d
Update README.md
mosesag0813 Aug 21, 2016
4be19e2
Update app.js
mosesag0813 Aug 21, 2016
edba50b
Update base.js
mosesag0813 Aug 21, 2016
37c0631
Update base.js
mosesag0813 Aug 21, 2016
363aed1
Update base.js
mosesag0813 Aug 21, 2016
541c6f6
Update base.js
mosesag0813 Aug 21, 2016
c0b1ddd
Create index.js
mosesag0813 Aug 21, 2016
4504de0
Update log-version.js
mosesag0813 Aug 21, 2016
bf6de6e
Update update.js
mosesag0813 Aug 21, 2016
c059da8
Create elementHandle.js
mosesag0813 Aug 21, 2016
89ed312
Update deploy
mosesag0813 Aug 24, 2016
98ca26a
Update deploy
mosesag0813 Aug 24, 2016
ce7d6bc
Update comet-platform.js
mosesag0813 Aug 30, 2016
0103e24
Delete appveyor.yml
mosesag0813 Aug 30, 2016
3274676
Update package.json
mosesag0813 Aug 31, 2016
74334b3
Update README.md
mosesag0813 Aug 31, 2016
58b198d
Update build.js
mosesag0813 Aug 31, 2016
f84a549
Delete packages
mosesag0813 Aug 31, 2016
643d061
Delete package.cfg
mosesag0813 Aug 31, 2016
d2c1273
Update and rename build.js to chromebuild.js
mosesag0813 Aug 31, 2016
81aec8d
Update deps.js
mosesag0813 Aug 31, 2016
ac182bb
Rename chromebuild.js to chrome_build.js
mosesag0813 Sep 1, 2016
ae547a0
Update README.md
mosesag0813 Sep 6, 2016
1e8dd14
Update README.md
mosesag0813 Sep 6, 2016
fa9e76d
Delete .save
mosesag0813 Sep 7, 2016
eca6f6a
Update check.sh
mosesag0813 Sep 7, 2016
1b11dc5
Functionality purposes
mosesag0813 Sep 9, 2016
f1bf301
Create nightly.js
mosesag0813 Sep 10, 2016
04678d6
Update deploy
mosesag0813 Sep 11, 2016
fc7785a
Create View.js
mosesag0813 Sep 12, 2016
02f5b63
Delete View.js
mosesag0813 Sep 12, 2016
ff0ea17
Create View.js
mosesag0813 Sep 12, 2016
6bbd5d0
Create Controller.js
mosesag0813 Sep 12, 2016
cd3e0ba
Update main.js
mosesag0813 Sep 12, 2016
c678e74
Update build.js
mosesag0813 Sep 13, 2016
916b1af
Update comet
mosesag0813 Sep 14, 2016
2700cb5
Update comet.js
mosesag0813 Sep 16, 2016
097d059
Update and rename elementHandle.js to handle.js
mosesag0813 Sep 16, 2016
660c342
Delete utils-web.html
mosesag0813 Sep 16, 2016
fb8b1ae
Delete firefox-branding.js
mosesag0813 Sep 16, 2016
9948087
Delete firefox-os2.ico
mosesag0813 Sep 16, 2016
6c886be
Delete default48.png
mosesag0813 Sep 16, 2016
0865fc0
Delete default32.png
mosesag0813 Sep 16, 2016
4229671
Delete default16.png
mosesag0813 Sep 16, 2016
f3662a8
Create geckoBuild.js
mosesag0813 Sep 16, 2016
7e9f1ab
Update README.md
mosesag0813 Sep 17, 2016
1ba79bd
Update make_package.js
mosesag0813 Sep 17, 2016
ffdc426
Update comet-platform.js
mosesag0813 Sep 17, 2016
826d98f
Update and rename New Text Document.txt to gecko.js
mosesag0813 Sep 17, 2016
b08d1a1
Update README.md
mosesag0813 Sep 17, 2016
73cc5a5
Update README.md
mosesag0813 Sep 17, 2016
cb65837
Update README.md
mosesag0813 Sep 17, 2016
3e1d510
Update gecko.js
mosesag0813 Sep 17, 2016
a63c700
Update README.md
mosesag0813 Sep 17, 2016
35f8928
Create macOS.js
mosesag0813 Sep 18, 2016
0cce196
Delete templates.md
mosesag0813 Sep 18, 2016
2c96955
Create robots.ini
mosesag0813 Sep 18, 2016
9cbd181
Delete test.sh
mosesag0813 Sep 18, 2016
ce0787e
Update package.js
mosesag0813 Sep 18, 2016
4cc118d
Update experiment.js
mosesag0813 Sep 18, 2016
50f7eb6
Update error_maker.js
mosesag0813 Sep 18, 2016
b511e5a
Update package.js
mosesag0813 Sep 18, 2016
d1271f7
Update package.json
mosesag0813 Sep 19, 2016
c613bd2
Update main.js
mosesag0813 Sep 19, 2016
c1a0c95
Update main.js
mosesag0813 Sep 19, 2016
b653940
Update .ices
mosesag0813 Sep 19, 2016
fe76bd2
Delete New Text Document.txt
mosesag0813 Sep 19, 2016
ece93d1
Delete New Text Document.txt
mosesag0813 Sep 19, 2016
aafdef7
Delete Modules.md
mosesag0813 Sep 19, 2016
9b4cb77
Update comet.js
mosesag0813 Sep 19, 2016
455418c
Update package.js
mosesag0813 Sep 19, 2016
51309d8
Update app.js
mosesag0813 Sep 20, 2016
c85c76d
Delete devel.sh
mosesag0813 Sep 21, 2016
4e9e084
Update comet.js
mosesag0813 Sep 22, 2016
1791643
Create native-template.js
mosesag0813 Oct 1, 2016
d28dcee
Create template.json
mosesag0813 Oct 1, 2016
db5d868
Update and rename models.js to Model.js
mosesag0813 Oct 2, 2016
7cc5f4f
Update Model.js
mosesag0813 Oct 2, 2016
e5b49c6
Update app.js
mosesag0813 Oct 4, 2016
b1b7752
Update comet-app.js
mosesag0813 Oct 4, 2016
1b7babc
Create run.js
mosesag0813 Oct 4, 2016
44d5685
Create run.sh
mosesag0813 Oct 4, 2016
67e1e50
Create run.sh
mosesag0813 Oct 4, 2016
c55d818
Delete New Text Document.txt
mosesag0813 Oct 4, 2016
003cd04
Create Model.js
mosesag0813 Oct 4, 2016
d08264a
Create View.js
mosesag0813 Oct 4, 2016
9278c88
Create Controller.js
mosesag0813 Oct 4, 2016
6d0c5fd
Create run
mosesag0813 Oct 4, 2016
27171b5
Update package.js
mosesag0813 Oct 4, 2016
3157709
Update app.js
mosesag0813 Oct 18, 2016
29f490e
Update README.md
mosesag0813 Nov 7, 2016
bcc1a11
Create channel-prefs.js
mosesag0813 Nov 15, 2016
dd94070
Create callPref.js
mosesag0813 Nov 15, 2016
191e731
Update package.json
mosesag0813 Nov 16, 2016
6e867c9
Update error_maker.js
mosesag0813 Dec 21, 2016
a2edeb2
Update README.md
mosesag0813 Jan 2, 2017
a58e608
Update deploy
mosesag0813 Jan 2, 2017
3a84ae2
Update app.js
mosesag0813 Jan 2, 2017
d495dd8
Update deploy
mosesag0813 Jan 19, 2017
722b815
Update comet-app.js
mosesag0813 Jan 23, 2017
7af98e4
Check over existing files
mosesag0813 Jan 23, 2017
1cf3ace
Update package.json
mosesag0813 Feb 23, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ices"]
path = ices
url = https://github.com/comet-dev/ices
13 changes: 13 additions & 0 deletions .ices
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@!/usr/cfg/bin ices
# An ices dotfile compiles packages within a directory (repository) and sends them into a distributable package.
# This ices file is an executable.

@packages.init -
.comet-build
.comet-develop
.https-native

@packages.comet-develop
./develop.js
./examples/button.js
@packages.access
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
language: node_js
node_js:
- "0.12"

5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Contributing to this project

### If you want to contribute to this project, here are some **guidelines**.
### Before you want to contribute to this project, here are some **guidelines**.
- Before filing a bug, please send some evidence of what happened.
- Before making a pull request, please make sure it's for a major update of configuration.
- Make a *update log* of what you have done to keep track of everything you have made and updated.
- Before making a pull request or sending a release, please make sure it's for a major update of configuration.

*Thank you for contributing!*

65 changes: 55 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,63 @@
![Logo](https://raw.githubusercontent.com/mosesag0813/comet/master/resources/Drawing%20(1).png)
# Comet
<p align="center">
<a href="http://www.comet-dev.com">
<img src="http://nebula.wsimg.com/bd4eb81da0db5a7ebdf585ca67c19549?AccessKeyId=6AF0847A48BE134CF5A5&disposition=0&alloworigin=1" width="360">
</a>
</p>

### Build Status
[![Build Status](https://travis-ci.org/mosesag0813/comet.svg?branch=master)](https://travis-ci.org/mosesag0813/comet) [![devDependency Status](https://david-dm.org/mosesag0813/comet/dev-status.svg)](https://david-dm.org/mosesag0813/comet#info=devDependencies)
# CometJS

An organized, simple-to-use development. It is smooth, and it is easy.
> Comet runs on JavaScript and Browserify.
Builds | Badges
---------- | ----------
Linux/Mac/Windows |[![Build Status](https://travis-ci.org/comet-dev/CometJS.svg?branch=master)](https://travis-ci.org/comet-dev/CometJS)
Developments |[![devDependency Status](https://david-dm.org/comet-dev/CometJS/dev-status.svg)](https://david-dm.org/comet-dev/CometJS#info=devDependencies)
Dependencies|[![Dependency Status](https://david-dm.org/comet-dev/CometJS.svg)](https://david-dm.org/comet-dev/CometJS)

Versions | Badges
----------|---------
NPM | [![npm version](https://badge.fury.io/js/comet-dev.svg)](https://badge.fury.io/js/comet-dev)
Prerelease | [![GitHub version](https://badge.fury.io/gh/comet-dev%2FCometJS.svg)](https://badge.fury.io/gh/comet-dev%2FCometJS)

## Quickstart
## Overview

CometJS is simple software development for building desktop applications.

It can specialize in creating applications, as well as previewing them in a browser window. This practically sets it apart from the other popular JS frameworks. Comet sends your app to a server (through the desktop) in a intuitive window, on Windows, Mac, or Linux. From there, your app is public to share with the world from the desktop as if it were a platform made on ice!

To test if your app works, use: ```comet test <app>```

CometJS is simply front-end desktop development, user interaction in all (Comet's UI), and precise back-end desktop development, with plugins and apis working coherently in pure javascript in order to keep the easy workflow. With the back-end desktop development, CometJS is running on Chromium, with stable-integrated Firefox implementations. Running on Gecko makes it unique, creating a beautiful layout, as well as a good build system.

And the best parts of all are:
- You can run apps in **Javascript**.
- You can deploy them on a running Javascript client-side foundation.
- All the binaries you need are in one place.

## Downloads
[Npm install](https://www.npmjs.com/package/CometJS) CometJS and get started, but be sure you also install it's [cli](https://github.com/comet-dev/cli) as well.
```sh
# npm install Comet locally or globally to your PATH
npm install comet-dev

# install the cli and ices
npm install comet-cli
npm install ices
```
```sh
# npm install for comet
npm install comet
# Example for creating an app
comet new my-app
cd my-app
comet serve my-app.comet.com
```

## Contributing
- Please see the CONTRIBUTING.md file, if decisions have been made to add to this project.
- Send an [issue](https://github.com/comet-dev/CometJS/issues)!
- Check out the [CONTRIBUTING.md](https://github.com/comet-dev/CometJS/blob/master/CONTRIBUTING.md) for more information on contributing to this project.
- Download Source Code

> Note: CometJS is still in development, and more hands are better than some!

## Examples and Quickstart

Run the See a Comet app in action with (WIP): ```comet-dev/comet-app-start```

Run the sdk to customize your app (WIP): ```comet-dev/comet-app-sdk```
46 changes: 37 additions & 9 deletions bin/comet
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,12 +1,40 @@
#!/usr/bin/env node
'use strict';


function cometBuild(file){
var comet;
var cfg = require("../comet.bat");
if(1 === 1){
comet.add(file);
}
return comet.open(file);
/**
* @constructor comet
* @alias Fixups, Testing, etc.
* @param comet.bat
**/
use.cometElements = function($){
this.$comet = $(comet);
this.$elements = $(elements).display;
this.elements.parent("framework");

comet.prototype.configure = (function(){
$comet.test("modules.js", "build.js");
if(!this.$element && this.$comet.test("develop.js")){
$elements.alert("Error: Can't test components, no DevelopJS devDependencies.");
console.error("STOP: COMPONENTS NOT FOUND; CAN'T BE TESTED");
$elements.options = $elements.on()
||.off();
})(comet);
while(this.comet.test("./build.bat", "./build.js") === "running"){
var state = ["on", "off"];
this.element.exec(state[0] && $element = true);
if(!$element){
$element = false
$element.test(state[1]);
} else {
$comet.status(state[0]);
}
getCometElements.prototype.comet = (function(){
var useElements = $comet.display;
useElements.find("./packages/comet-develop")
})(getCometElements);
}
}
}
cometBuild("../comet.bat")
use($);


13 changes: 13 additions & 0 deletions bin/comet.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off
echo "Starting Comet-Dev..."
start "./bin/comet"
prompt "Type in repo url."
if %url" " echo "Ok, thx :-)"


if [goto "next setup" echo ""]
g- "" f% "invalid"




1 change: 1 addition & 0 deletions bin/comet.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

54 changes: 54 additions & 0 deletions bin/deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#!/usr/bin/env node

var usr = "";
var ini = require(".../update.js");
var deployJS = require("deploy");
var comet = require(".../comet");
var publish = require("Publish");

deploy = function(app){
var deployMethods = create({
cometPlatform:"Run apps in Comet Cloud",
web: "Send to web, for everyone to see!",
desktop:"Send to windows store"
});
app.prototype.menu = window.open("Comet Apps").onDesktop();
app.prototype.frameworks = comet.frameworks.go("desktop-app");

/**
* @param {app}, {usr}
* @description Process for app and user deployment.
**/
if(usr.confirm(app.send(deployMethods.cometPlatform))){
app.require(usr.process.argv(app.describe("Comet Application")).comet(app++; app.call("Scan")));
for(usr.require(app.ini(comet.appName("").find("./.comet"))&&app.push("New Server").send("1.100.COMET").ini("New Server 1.100"))){
app.create("Comet Packages").ini(usr.prompt("Add Comet package?")&& !require("New Server to Store").publish("New App"));
} else if(deployMethods.web === true && deployMethods.cometPlatform&&deployMethods.desktop){
app.require("./.comet").process.argv("$send")+require("New Comet Packages");
usr.prompt("App Has Been Deployed!");
} else if(app.send(deployMethods.windows) && app.usr.find("account").register()){
usr.account.comet("").app("")&&app.register("Desktop");
} else {
alert.status("Unable to deploy");
}
}
}
/**
* @class deploy
**/
onInstall = function(e){
var server = require("ssl");
e.ini(usr.create("New Account") && register("Account"));
deploy("").server("1.100.COMET") && register().send(deployMethods.cometPlatform);
register().send(deployMethods.web) || register().send(deployMethods.windows);
e.configure(server.ini(e)&&process.argv("Installation" + "/n" e && process.argv("Settings").exec(comet.e));
}

onStartup = function(e){
if(typeof "comet app" === true){
window.open(onInstall(e));
}
window.open(deploy(e));
}
}
onStartup(deploy(usr.APP.appName("")));
19 changes: 19 additions & 0 deletions bin/develop
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env node
var developJS = require("DevelopJS");
var pkg = create({
comet:"Comet Package",
development:"Comet Development"
});
var depedencies = require("dependencies");

develop = function(file){
if(file.find("develop.js") === true){
developJS(file.exec("$PATH").open(pkg.comet));
file.push(pkg.comet) && file.join(process.argv);
}
for(var i=0;i<pkg.development;i++){
pkg.comet.push(developJS(file));
dependencies(developJS(file));
depedencies.send("DevelopJS", pkg.development);
}
}
Empty file modified bin/startup
100644 → 100755
Empty file.
5 changes: 5 additions & 0 deletions comet/assets/robots.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[robots]
allow=assets
disallow=anythingelse
[build]
buildtype=comet
2 changes: 2 additions & 0 deletions comet/assets/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow:
10 changes: 10 additions & 0 deletions comet/builds/chrome/chrome_build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import chr from 'chrome'

var chrome = require('chromium');

chr
.build('--win32', 'Build to Windows 32bit');
.build('--win64', 'Build to Windows 64bit');
.parse();

const load = chr.build.parse(chr.load());
1 change: 1 addition & 0 deletions comet/builds/nightly/nightly.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

79 changes: 79 additions & 0 deletions comet/framework/app/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
"use strict";
// Copyright 2015 CometJS. All Rights Reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and limitations under the License.

var app = require('app');
/**
* @param app.window.URL, app.window.command
* @access app.private.command
* @description Access the private, public or protected control or ownership of the application.
**/
/** @protected **/
app.window.URL('1.100.COMET');
/**
* @description Break the app down into access privileges
* and creating the elements to private, public, and protected.
**/
app.access.createElement('app.private.command', 'app.public.command', 'app.protected.command');
/**
* @param {app.access}
* @overview Set access point to app.
**/
app.access.command('app.access.private','app.access.public', 'app.access.protected');
app.access.getUser('');

if(typeof app.access.getUser('') === true){
app.access.confirm('You are now logged in to your app.');
}

application.prototype.render = (function(){
var render = this.render;

if(app.access || app.parent + this.render){
this.render.push(app);
} else {
this.render = false;
app.access = false;
console.error('Unable to access owner');
}
this.render.start = new this.render;
});
app.window.open(app);

app.require(application.render);

app.on("build");
/**
* @overview Loading internal files to app/project.
* @todo
* Application Enhancments:
* - Window Sizing
* - App Compatibility
**/
app.handle(window.open(app));
/** @protected **/
app.load('package.json');

/** @protected **/
app.load('comet.js');

/** @protected **/
app.load('desktop.js');

/** @protected **/
app.load('base.js');

/** @protected **/
app.load('render.js');

/** @protected **/
app.load('build.js');
Loading