Skip to content

efgdefg #10

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

Open
wants to merge 172 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
68f43ed
test 123
guy-codefresh Jul 2, 2015
11a4278
removed comment
guy-codefresh Jul 8, 2015
90d6956
Update README.md
guy-codefresh Jul 21, 2015
7df32ea
Update README.md
guy-codefresh Jul 21, 2015
013495e
Update README.md
guy-codefresh Jul 21, 2015
a16fa1e
Update README.md
guy-codefresh Jul 21, 2015
f4264cb
Update README.md
guy-codefresh Jul 22, 2015
c21b4b2
Update README.md
guy-codefresh Jul 22, 2015
22a54b3
Update README.md
guy-codefresh Jul 22, 2015
c611df9
Update README.md
guy-codefresh Jul 22, 2015
308e792
Update README.md
guy-codefresh Jul 22, 2015
53717a9
Update README.md
guy-codefresh Jul 22, 2015
6831b7d
Update README.md
guy-codefresh Jul 23, 2015
4359db0
Update README.md
guy-codefresh Jul 23, 2015
299dd4c
Update README.md
guy-codefresh Jul 23, 2015
cb592b9
Update README.md
guy-codefresh Jul 23, 2015
0b24900
Update README.md
guy-codefresh Jul 23, 2015
9edbc0e
Update README.md
guy-codefresh Jul 23, 2015
8de3e14
Update README.md
guy-codefresh Jul 23, 2015
9b2efdb
Update README.md
guy-codefresh Jul 23, 2015
2bd0cb2
Update README.md
guy-codefresh Jul 23, 2015
b43569c
Update README.md
guy-codefresh Jul 23, 2015
a8624eb
Update README.md
guy-codefresh Jul 23, 2015
f69ebc1
Update README.md
guy-codefresh Jul 23, 2015
02bb031
Update README.md
guy-codefresh Jul 24, 2015
c7d62c0
Update README.md
guy-codefresh Jul 24, 2015
16163f9
Update README.md
guy-codefresh Jul 28, 2015
9ad2913
Update README.md
guy-codefresh Jul 29, 2015
23c850c
Update README.md
guy-codefresh Jul 29, 2015
1360ff9
Update README.md
guy-codefresh Jul 29, 2015
0de91b7
Update README.md
guy-codefresh Jul 29, 2015
8a2299d
Update README.md
guy-codefresh Jul 29, 2015
be40a88
Update README.md
guy-codefresh Aug 13, 2015
aaf3dd3
Update README.md
guy-codefresh Aug 13, 2015
08cf9f8
Create .drone.yml
guy-codefresh Aug 13, 2015
3d8f387
Update .drone.yml
guy-codefresh Aug 13, 2015
88622fb
Update .drone.yml
guy-codefresh Aug 13, 2015
297ecc6
aa
guy-codefresh Aug 23, 2015
0832ea6
Merge pull request #13 from guy-codefresh/B1
guy-codefresh Aug 23, 2015
77e4fca
Update README.md
guy-codefresh Sep 1, 2015
f57680b
Update README.md
guy-codefresh Sep 1, 2015
6b1a0b2
Update README.md
guy-codefresh Sep 1, 2015
8432087
Update README.md
guy-codefresh Sep 1, 2015
e70db41
Update README.md
guy-codefresh Sep 1, 2015
d0fb4e8
Update README.md
guy-codefresh Sep 1, 2015
f3d6cb1
Update README.md
guy-codefresh Sep 1, 2015
5001bb7
Update README.md
guy-codefresh Sep 1, 2015
d8cccf0
Update README.md
guy-codefresh Sep 1, 2015
21c4f6d
Update README.md
guy-codefresh Sep 1, 2015
5412ea2
Update README.md
guy-codefresh Sep 1, 2015
9bc1ce8
Update README.md
guy-codefresh Sep 1, 2015
6eaeba8
Update README.md
guy-codefresh Sep 1, 2015
2b5d631
Update README.md
guy-codefresh Sep 1, 2015
3d141ed
Update README.md
guy-codefresh Sep 1, 2015
669bed9
Update README.md
guy-codefresh Sep 1, 2015
aedf65d
Update README.md
guy-codefresh Sep 2, 2015
3e19d98
Update README.md
guy-codefresh Sep 8, 2015
55ba4bd
Update README.md
guy-codefresh Sep 8, 2015
d8d5e4f
Update README.md
guy-codefresh Sep 8, 2015
c1e63df
Update README.md
guy-codefresh Sep 8, 2015
5440466
Update README.md
guy-codefresh Sep 8, 2015
ca21973
Update README.md
guy-codefresh Sep 8, 2015
cf0b3fd
Update README.md
guy-codefresh Sep 8, 2015
b49806b
Update README.md
guy-codefresh Sep 8, 2015
9a6666e
Update README.md
guy-codefresh Sep 8, 2015
b2d99aa
Update README.md
guy-codefresh Sep 8, 2015
aee1070
Update README.md
guy-codefresh Sep 8, 2015
394b636
Update README.md
guy-codefresh Sep 8, 2015
ec56a76
Update README.md
guy-codefresh Sep 8, 2015
a17874b
Update README.md
guy-codefresh Sep 8, 2015
ffd1bc5
Update README.md
guy-codefresh Sep 8, 2015
ea47731
Update README.md
guy-codefresh Sep 8, 2015
a5e302d
Update README.md
guy-codefresh Sep 8, 2015
b1f5a39
Update README.md
guy-codefresh Sep 8, 2015
51d0e1f
Update README.md
guy-codefresh Sep 8, 2015
ccfd898
Update README.md
guy-codefresh Sep 8, 2015
b2331db
Update README.md
guy-codefresh Sep 8, 2015
7685ae1
Update README.md
guy-codefresh Sep 8, 2015
57baf9a
Update README.md
guy-codefresh Sep 8, 2015
2a5b11f
Update README.md
guy-codefresh Sep 8, 2015
6313fdb
Update README.md
guy-codefresh Sep 8, 2015
b78b385
Update README.md
guy-codefresh Sep 8, 2015
e8a46b8
Update README.md
guy-codefresh Sep 8, 2015
872b6c6
Update README.md
guy-codefresh Sep 8, 2015
f330d64
Update README.md
guy-codefresh Sep 8, 2015
72b5809
Update README.md
guy-codefresh Sep 8, 2015
c41770f
Update README.md
guy-codefresh Sep 8, 2015
1479948
Update README.md
guy-codefresh Sep 8, 2015
8c43fbb
Update README.md
guy-codefresh Sep 8, 2015
26a5613
Update README.md
guy-codefresh Sep 8, 2015
d6c5db0
Update README.md
guy-codefresh Sep 8, 2015
263d3c3
Update README.md
guy-codefresh Sep 8, 2015
d45651f
Update README.md
guy-codefresh Sep 8, 2015
a6f8889
Update README.md
guy-codefresh Sep 8, 2015
d772667
Update README.md
guy-codefresh Sep 8, 2015
ec3e144
Update README.md
guy-codefresh Sep 8, 2015
a53a951
Update README.md
guy-codefresh Sep 8, 2015
aa6090c
Update README.md
guy-codefresh Sep 8, 2015
153eefd
Update README.md
guy-codefresh Sep 8, 2015
d577422
Update README.md
guy-codefresh Sep 8, 2015
05c3f89
Update README.md
guy-codefresh Sep 8, 2015
d80bf0e
Update README.md
guy-codefresh Sep 8, 2015
5f0685b
Update README.md
guy-codefresh Sep 8, 2015
f86aac1
Update README.md
guy-codefresh Sep 8, 2015
0f72b85
docker file fixes
guy-codefresh Sep 12, 2015
21feccf
Update README.md
guy-codefresh Sep 12, 2015
219ffb6
Update README.md
guy-codefresh Sep 12, 2015
038c17c
Update README.md
guy-codefresh Sep 12, 2015
86d6f1a
Update README.md
guy-codefresh Sep 13, 2015
ca86b59
Update README.md
guy-codefresh Sep 13, 2015
0a02ecb
Update README.md
guy-codefresh Sep 13, 2015
481211e
Update README.md
guy-codefresh Sep 13, 2015
eafd2f3
Update README.md
guy-codefresh Sep 13, 2015
df61e69
Update README.md
guy-codefresh Sep 14, 2015
89c7a0e
Update README.md
guy-codefresh Sep 14, 2015
5258038
Update README.md
guy-codefresh Sep 14, 2015
5226c21
Update README.md
guy-codefresh Sep 14, 2015
a9229e9
Update README.md
guy-codefresh Sep 14, 2015
572f347
Update README.md
guy-codefresh Sep 14, 2015
b467e1f
Update README.md
guy-codefresh Sep 14, 2015
1dd9817
Update README.md
guy-codefresh Sep 14, 2015
92a3487
Update README.md
guy-codefresh Sep 14, 2015
1b6c4d8
Update README.md
guy-codefresh Sep 18, 2015
7f981bb
Update README.md
guy-codefresh Sep 20, 2015
b1b17ae
Update README.md
guy-codefresh Sep 20, 2015
a9709e4
Update README.md
guy-codefresh Sep 20, 2015
d976099
Update README.md
guy-codefresh Sep 20, 2015
1c3e5ca
Update README.md
guy-codefresh Sep 20, 2015
8f800b2
Update README.md
guy-codefresh Sep 20, 2015
958287c
Update README.md
guy-codefresh Sep 20, 2015
50bfaf3
Update README.md
guy-codefresh Sep 20, 2015
ccd045d
Update README.md
guy-codefresh Sep 20, 2015
f80b18c
Update README.md
guy-codefresh Sep 20, 2015
455b72e
Update README.md
guy-codefresh Sep 20, 2015
f323b00
Update README.md
guy-codefresh Sep 20, 2015
cb32ca0
Update README.md
guy-codefresh Sep 30, 2015
d3201f5
Update README.md
guy-codefresh Sep 30, 2015
da908b1
Update README.md
guy-codefresh Sep 30, 2015
65dfb57
Update README.md
guy-codefresh Sep 30, 2015
6be23e5
Update README.md
guy-codefresh Sep 30, 2015
68ab42e
Update README.md
guy-codefresh Oct 3, 2015
10c024f
Update README.md
guy-codefresh Oct 5, 2015
fc9b650
Update README.md
guy-codefresh Oct 6, 2015
862dd6b
Update README.md
guy-codefresh Oct 6, 2015
f3e2f54
Update README.md
guy-codefresh Oct 6, 2015
a3f793c
Update README.md
guy-codefresh Oct 6, 2015
53aad30
Update README.md
guy-codefresh Oct 6, 2015
de236a6
Update README.md
guy-codefresh Oct 6, 2015
986ca77
Update README.md
guy-codefresh Oct 6, 2015
9c0ce39
Update README.md
guy-codefresh Oct 6, 2015
e0b91b0
Update README.md
guy-codefresh Oct 6, 2015
e1910fe
Update README.md
guy-codefresh Oct 6, 2015
233e5fa
Update README.md
guy-codefresh Oct 6, 2015
9b48d19
Update README.md
guy-codefresh Oct 6, 2015
254cee4
Update README.md
guy-codefresh Oct 6, 2015
9006f07
Update README.md
guy-codefresh Oct 6, 2015
f8c0346
Update README.md
guy-codefresh Oct 13, 2015
4e4704c
Update README.md
guy-codefresh Oct 14, 2015
82ef826
Update README.md
guy-codefresh Oct 14, 2015
085c120
Update README.md
guy-codefresh Oct 14, 2015
68f32e7
Update README.md
guy-codefresh Oct 15, 2015
3547aec
Update README.md
guy-codefresh Oct 20, 2015
13ccef4
Update README.md
guy-codefresh Oct 21, 2015
0d92c5e
Update README.md
guy-codefresh Oct 26, 2015
f4e777a
Update README.md
guy-codefresh Nov 3, 2015
97c2756
Update README.md
guy-codefresh Dec 10, 2015
01a28ae
Update README.md
guy-codefresh Jan 12, 2016
e23bb47
Update index.html
guy-codefresh Feb 2, 2016
c323772
Test2
guy-codefresh Feb 2, 2016
c10930f
Update index.html
guy-codefresh Mar 12, 2016
6caddb3
Update index.html
guy-codefresh Mar 20, 2016
9a3b0d4
Update README.md
guy-codefresh Mar 27, 2016
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
4 changes: 4 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build:
image: node:0.10-onbuild
commands:
- npm install
21 changes: 8 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
FROM ubuntu:14.04
FROM codefresh/buildpacks:all

RUN sudo apt-get -q -y update
RUN sudo apt-get -q -y install nodejs npm git
ENV NVM_BIN /root/.nvm/versions/node/v0.12.7/bin
ENV PATH $NVM_BIN:$PATH

RUN sudo ln -s "$(which nodejs)" /usr/bin/node
COPY package.json /src/package.json
WORKDIR /src
RUN npm install

RUN npm install npm -g
COPY . /src

#application server
EXPOSE 80
#nodejs debug port
EXPOSE 9000
#node inspector port
EXPOSE 8080

COPY . /src

CMD ["/usr/bin/node", "/src/app.js"]
CMD ["node", "/src/app.js"]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ If you would like to add/remove/update Orion extension points, you will need to

## You can see plugin hosted on Heroku
https://orionplugin.herokuapp.com/


2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<div class="container">
<div class="logo"></div>

<h1>Orion JS Beautify Example</h1>
<h1>Orion JS Beautify Example - Irin</h1>
<h3>Example of simple orion plugin</h3>
</div>
</header>
Expand Down
43 changes: 43 additions & 0 deletions todo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>TODO List</title>
<script src="js/plugin.js"></script>
<script>

var headers = {
name: "BeautifyPlugin", version: "1.0", description: "Beautify editor code."
};

var provider = new orion.PluginProvider(headers);

provider.registerServiceProvider("orion.edit.outliner", {
getOutline: function(contents, title) {
var outline = [];
var lines = contents.split(/\r?\n/);
for (var i=0; i < lines.length; i++) {
var line = lines[i];
var match = /^=\s*(.+?)\s*=$/.exec(line);
if (match) {
outline.push({
label: match[1],
line: i+1 // lines are numbered from 1
});
}
}
return outline;
}
}, {
name: "Headings",
id: "orion.outliner.example.headings"
});


provider.connect();

</script>
</head>
<body>
<h1>TODO List</h1>
</body>
</html>