Skip to content

Commit f2abf89

Browse files
committed
fix: readme and documentation. Removed securitykeys
1 parent cc20eb4 commit f2abf89

File tree

5 files changed

+13
-19
lines changed

5 files changed

+13
-19
lines changed

demo/CoCreate-xxx.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
<script>
2525
var config = {
2626
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
27-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
28-
organization_Id: '5de0387b12e200ea63204d6c'
27+
organization_Id: '5de0387b12e200ea63204d6c'
2928
}
3029
</script>
3130

docs/index.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<meta name="description" content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
1010
<meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
1111
<meta name="robots" content="index,follow" />
12+
<meta property="og:image" content="https://cdn.cocreate.app/docs/boilerplate.png">
1213

1314
<!-- CoCreate CSS -->
1415
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
@@ -20,7 +21,7 @@
2021
<div class="display:flex align-items:center">
2122
<h2>CoCreate-docs</h2>
2223
</div>
23-
<div class="display:flex align-items:center font-size:20px" data-share_height="600" data-share_width="500" data-share_media="https://via.placeholder.com/300/09f/fff.png">
24+
<div class="display:flex align-items:center font-size:20px" data-share_network="true" data-share_text="Enter decription here" data-share_title="testing im a title" data-share_height="600" data-share_width="700" data-share_media="https://cdn.cocreate.app/docs/boilerplate.png">
2425
<a href="https://github.com/CoCreate-app/CoCreate-docs" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
2526
<a class="margin-right:15px" data-share_network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
2627
<a class="margin-right:15px" data-share_network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
@@ -32,7 +33,7 @@ <h2>CoCreate-docs</h2>
3233
<div id="docs-section" class="display:flex flex-wrap:wrap">
3334
<div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px">
3435
<div id="docs-install" class="border-bottom:1px_solid_lightgrey">
35-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#docs-install"]'>
36+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#docs-install"]'>
3637
<h2 class="padding:5px_0px">Install</h2>
3738
<a class="margin-left:10px display:none" href="#docs-install"><i class="fas fa-link"></i></a>
3839
</span>
@@ -42,7 +43,7 @@ <h2 class="padding:5px_0px">Install</h2>
4243
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/docs/latest/CoCreate-docs.min.js&lt;/script&gt;</code></pre>
4344

4445
<div id="docs-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey">
45-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#docs-usage"]'>
46+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#docs-usage"]'>
4647
<h2 class="padding:5px_0px">Usage</h2>
4748
<a class="margin-left:10px display:none" href="#docs-usage"><i class="fas fa-link"></i></a>
4849
</span>
@@ -51,15 +52,13 @@ <h2 class="padding:5px_0px">Usage</h2>
5152
<p class="padding:10px_0px">This is docs reference</p>
5253

5354
<div class="flex-grow:1 min-width:300px width:100%">
54-
<pre>
55-
<code class="language-html">&lt;div&gt;&lt;/div&gt;</code>
56-
</pre>
55+
<pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
5756
</div>
5857
<p class="padding:10px_0px">This is docs reference</p>
5958
<p class="padding:10px_0px">This is docs reference</p>
6059
</div>
6160
<div id="docs-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey">
62-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#docs-attributes"]'>
61+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#docs-attributes"]'>
6362
<h2 class="padding:5px_0px">Attributes</h2>
6463
<a class="margin-left:10px display:none" href="#docs-attributes"><i class="fas fa-link"></i></a>
6564
</span>
@@ -79,7 +78,7 @@ <h4><span>data-docs</span> <span class="cocreate-badge success">string</span> <s
7978
<div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
8079
<!-- SandBox -->
8180
<div id="docs-demo" class="border-bottom:1px_solid_lightgrey">
82-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#docs-demo"]'>
81+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#docs-demo"]'>
8382
<h2 class="padding:5px_0px">Demo</h2>
8483
<a class="margin-left:10px display:none" href="#docs-demo"><i class="fas fa-link"></i></a>
8584
</span>
@@ -103,7 +102,7 @@ <h2 class="padding:5px_0px">Demo</h2>
103102
class="margin-right:10px">
104103
<i class="fas fa-external-link-alt"></i>
105104
</a>
106-
<a class="fs-toggle margin-right:5px" target="#playground-1"><i class="fas fa-expand"></i></a>
105+
<a class="margin-right:5px" data-fullscreen target="#playground-1"><i class="fas fa-expand"></i></a>
107106
</div>
108107

109108
<div class="svRow">
@@ -137,8 +136,7 @@ <h2 class="padding:5px_0px">Demo</h2>
137136
<script>
138137
var config = {
139138
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
140-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
141-
organization_Id: '5de0387b12e200ea63204d6c'
139+
organization_Id: '5de0387b12e200ea63204d6c'
142140
}
143141
</script>
144142

src/client.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ const CoCreateSocket = require('./CoCreate-socket')
33

44
const config = {
55
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
6-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
7-
organization_Id: '5de0387b12e200ea63204d6c'
6+
organization_Id: '5de0387b12e200ea63204d6c'
87
}
98

109
CoCreateSocket.create({

test_files/test.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
<script>
3535
var config = {
3636
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
37-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
38-
organization_Id: '5de0387b12e200ea63204d6c'
37+
organization_Id: '5de0387b12e200ea63204d6c'
3938
}
4039
</script>
4140

test_files/test2.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
<script>
2424
var config = {
2525
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
26-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
27-
organization_Id: '5de0387b12e200ea63204d6c'
26+
organization_Id: '5de0387b12e200ea63204d6c'
2827
}
2928
</script>
3029

0 commit comments

Comments
 (0)