Skip to content

Commit 851605e

Browse files
committed
fix: readme and documentation. Removed securitykeys
1 parent 849e764 commit 851605e

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

demo/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ <h1 data-calculation="l1 + {id1} * 5 + {id3}/{id2}/0 + {id2}"></h1>
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 handy JavaScript calculator,concatenate multiple inputs containing integers & execute calculations.Can be used for invoices,payments & any complex calculation" />
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-calculations</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-calculations" 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>
@@ -33,7 +34,7 @@ <h2>CoCreate-calculations</h2>
3334
<div class="flex-grow:1 width:300px padding:0px_10px margin:20px_0px">
3435

3536
<div id="calculation-install" class="border-bottom:1px_solid_lightgrey">
36-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#calculation-install"]'>
37+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-install"]'>
3738
<h2 class="padding:5px_0px">Install</h2>
3839
<a class="margin-left:10px display:none" href="#calculation-install"><i class="fas fa-link"></i></a>
3940
</span>
@@ -44,7 +45,7 @@ <h2 class="padding:5px_0px">Install</h2>
4445
<pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/calculation/latest/CoCreate-calculation.min.js&lt;/script&gt;</code></pre>
4546

4647
<div id="calculation-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey">
47-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#calculation-usage"]'>
48+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-usage"]'>
4849
<h2 class="padding:5px_0px">Usage</h2>
4950
<a class="margin-left:10px display:none" href="#calculation-usage"><i class="fas fa-link"></i></a>
5051
</span>
@@ -53,16 +54,14 @@ <h2 class="padding:5px_0px">Usage</h2>
5354
<p class="padding:10px_0px">This is calculations reference</p>
5455

5556
<div class="flex-grow:1 min-width:300px width:100%">
56-
<pre>
57-
<code class="language-html">&lt;div&gt;&lt;/div&gt;</code>
58-
</pre>
57+
<pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
5958
</div>
6059
<p class="padding:10px_0px">This is calculations reference</p>
6160
<p class="padding:10px_0px">This is calculations reference</p>
6261
</div>
6362

6463
<div id="calculation-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey">
65-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#calculation-attributes"]'>
64+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-attributes"]'>
6665
<h2 class="padding:5px_0px">Attributes</h2>
6766
<a class="margin-left:10px display:none" href="#calculation-attributes"><i class="fas fa-link"></i></a>
6867
</span>
@@ -83,7 +82,7 @@ <h4><span>data-calculations</span> <span class="cocreate-badge success">string</
8382

8483
<!-- SandBox -->
8584
<div id="calculation-demo" class="border-bottom:1px_solid_lightgrey">
86-
<span class="display:flex align-items:center" data-hover="display:block!important" data-hover_target='[href="#calculation-demo"]'>
85+
<span class="display:flex align-items:center width:fit-content" data-hover="display:block!important" data-hover_target='[href="#calculation-demo"]'>
8786
<h2 class="padding:5px_0px">Demo</h2>
8887
<a class="margin-left:10px display:none" href="#calculation-demo"><i class="fas fa-link"></i></a>
8988
</span>
@@ -107,7 +106,7 @@ <h2 class="padding:5px_0px">Demo</h2>
107106
class="margin-right:10px">
108107
<i class="fas fa-external-link-alt"></i>
109108
</a>
110-
<a class="fs-toggle margin-right:5px" target="#playground-1"><i class="fas fa-expand"></i></a>
109+
<a class="margin-right:5px" data-fullscreen target="#playground-1"><i class="fas fa-expand"></i></a>
111110
</div>
112111

113112
<div class="svRow">
@@ -141,8 +140,7 @@ <h2 class="padding:5px_0px">Demo</h2>
141140
<script>
142141
var config = {
143142
apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
144-
securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
145-
organization_Id: '5de0387b12e200ea63204d6c'
143+
organization_Id: '5de0387b12e200ea63204d6c'
146144
}
147145
</script>
148146

0 commit comments

Comments
 (0)