This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (69 loc) · 7.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<head>
<title>Simples JavaScript Library</title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" href="main_page.css" type="text/css" media="screen">
<script type="text/javascript">
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
* Build: http://www.modernizr.com/download/#-boxshadow-iepp-testprop-testallprops-hasevent-domprefixes
*/
;window.Modernizr=function(a,b,c){function A(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+m.join(c+" ")+c).split(" ");return z(d,b)}function z(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function y(a,b){return!!~(""+a).indexOf(b)}function x(a,b){return typeof a===b}function w(a,b){return v(prefixes.join(a+";")+(b||""))}function v(a){j.cssText=a}var d="2.0.6",e={},f=b.documentElement,g=b.head||b.getElementsByTagName("head")[0],h="modernizr",i=b.createElement(h),j=i.style,k,l=Object.prototype.toString,m="Webkit Moz O ms Khtml".split(" "),n={},o={},p={},q=[],r=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=x(e[d],"function"),x(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),s,t={}.hasOwnProperty,u;!x(t,c)&&!x(t.call,c)?u=function(a,b){return t.call(a,b)}:u=function(a,b){return b in a&&x(a.constructor.prototype[b],c)},n.boxshadow=function(){return A("boxShadow")};for(var B in n)u(n,B)&&(s=B.toLowerCase(),e[s]=n[B](),q.push((e[s]?"":"no-")+s));v(""),i=k=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._domPrefixes=m,e.hasEvent=r,e.testProp=function(a){return z([a])},e.testAllProps=A;return e}(this,this.document);
</script>
</head>
<body>
<header>
<h1><span>Simples</span> Just Enough JavaScript</h1>
<a href="http://github.com/hairballopolis/simples"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
</header>
<section id="whatis" class="open">
<h2>What is Simples</h2>
<p>Simples is a lightweight javascript library loosely based on jQuery. This library is not intended to replace jQuery, but meant to be a lightweight alternative to the well loved library.</p>
<p>Do you do OO JavaScript, make a small website, need a lightweight library, or are just concerned about performance? You are not alone I found I was not using jQuery to its full extent and at times frustrated by its performance. Enter Simples, taking the compatibility and clean interface of jQuery and turning it into a lightweight just enough library.</p>
</section>
<section id="wheretouse">
<h2>Where can I use Simples?</h2>
<p>Simples is designed to be used in all good modern browsers. Simples is not attempting to fix the individual browser implementations, but provide just enough to have similar behaviour across the browsers.</p>
</section>
<section id="plugins">
<h2>Can I use jQuery plugins?</h2>
<p>Simples, is built in a similar manner to jQuery and can easily add plugins, although with jQuery plugins there will need to be some refactoring and adaptation to use the simples APIs.</p>
</section>
<section id="howtogetstarted">
<h2>How do I get started?</h2>
<p>Simples, you download the version you need and load it into your website as you would any other javascript library. <a href="/docs/index.html">Documentation can be found here.</a></p>
</section>
<section id="testSuite">
<h2>Test Coverage</h2>
<p>Currently Simples provides a thorough test suite, to ensure that all functionality works similarly across all supported browsers.</p>
<p>Check the coverage in your browser, <a href="/test/index.html">Current Release Test Suite</a>, if you do come across a bug, <a href="https://github.com/hairballopolis/simples/issues">please report it here.</a></p>
</section>
<section id="navigation">
<h2 style="display:none;">Navigation</h2>
<ul>
<li><a href="docs/index.html">Documentation</a></li>
<li><a href="test/index.html">See the Tests</a></li>
<li><a href="https://github.com/hairballopolis/simples/wiki">Go to the wiki</a></li>
<li><a href="https://github.com/hairballopolis/simples/issues">Report a bug</a></li>
<li>Get a copy of Simples<ul>
<li>Latest<ul>
<li><a href="http://github.com/hairballopolis/simples/raw/0.2.0/dist/simples.min.js">Minified Copy</a></li>
<li><a href="http://github.com/hairballopolis/simples/raw/0.2.0/dist/simples.js">Developer Copy</a></li>
</ul></li>
<li>0.1.5<ul>
<li><a href="http://github.com/hairballopolis/simples/raw/0.1.5/dist/simples.min.js">Minified Copy</a></li>
<li><a href="http://github.com/hairballopolis/simples/raw/0.1.5/dist/simples.js">Developer Copy</a></li>
</ul></li>
<li>0.1.4<ul>
<li><a href="http://github.com/hairballopolis/simples/raw/0.1.4/dist/simples.min.js">Minified Copy</a></li>
<li><a href="http://github.com/hairballopolis/simples/raw/0.1.4/dist/simples.js">Developer Copy</a></li>
</ul></li>
<li>0.1.3<ul>
<li><a href="http://github.com/hairballopolis/simples/raw/0.1.3/dist/simples.min.js">Minified Copy</a></li>
<li><a href="http://github.com/hairballopolis/simples/raw/0.1.3/dist/simples.js">Developer Copy</a></li>
</ul></li>
</ul></li>
</ul>
</section>
<script type="text/javascript" charset="utf-8" src="dist/simples.min.js"></script>
</body>
</html>