commit
message
Cleaning up view
author
Ben Vogt <[email protected]>
date
2016-12-24 20:17:56
stats
1 file(s) changed,
0 insertions(+),
41 deletions(-)
files
index.html
1diff --git a/index.html b/index.html
2index fe0042b..e135b10 100644
3--- a/index.html
4+++ b/index.html
5@@ -34,18 +34,6 @@
6 <div class="col-xs-12">
7 <section>
8 <h1 class="page-header">RuleJS</h1>
9-
10- <h2>JS Library to parse excel formulas (based on <a href="https://github.com/zaach/jison" target="_blank">jison parser</a> and <a href="https://github.com/sutoiku/formula.js" target="_blank">formula</a>).</h2>
11- <p>Supported formulas are listed below.</p>
12- </section>
13-
14- <section>
15- <p>List of supported formulas:</p>
16- <div id="suportedList" class="col-xs-6" style="height: 400px; overflow-y: scroll;"></div>
17- </section>
18-
19- <div class="clearfix"></div>
20-
21 <section>
22 <h1 class="page-header">Demo</h1>
23 <p>Try to parse the formula by typing ex. <code>AND(1,0)</code> into input below and press <kbd>Parse</kbd> button.</p>
24@@ -188,34 +176,6 @@
25 }
26 });
27
28- var listFormulas = (function() {
29- var container = document.querySelector('#suportedList'),
30- ul = document.createElement('ul');
31-
32- container.appendChild(ul);
33-
34- //var methods = [];
35- //for (var method in rules.helper.SUPPORTED_FORMULAS) {
36- // methods.push(method);
37- //}
38- //methods.sort();
39-
40- var methods = rules.helper.SUPPORTED_FORMULAS.sort();
41-
42- methods.forEach(function (item) {
43- var li = document.createElement('li'),
44- a = document.createElement('a');
45-
46- a.href = 'http://www.stoic.com/pages/formula/function?function=' + item;
47- a.target = '_blank';
48- a.innerHTML = item;
49-
50- li.appendChild(a);
51- ul.appendChild(li);
52- });
53-
54- })();
55-
56 })();
57 </script>
58 </body>