Permalink
Browse files

first commit

  • Loading branch information...
garris committed Jun 14, 2014
0 parents commit 2c2d7b90913cada0b7fd315b3ff9d5e7c0e1c1f5
Showing with 71,532 additions and 0 deletions.
  1. +14 −0 app.build.js
  2. +1 −0 dist/Slinky.js
  3. +15 −0 dist/build.txt
  4. +6 −0 dist/slinky.css
  5. +60 −0 index.html
  6. +1,427 −0 libs/hammer.js
  7. +4 −0 libs/jquery-min.js
  8. +422 −0 libs/jsBezier-0.6.js
  9. +23 −0 libs/raf_shim.js
  10. +31 −0 libs/require.js
  11. +25,756 −0 r.js
  12. +8 −0 slinky.sublime-project
  13. +1,724 −0 slinky.sublime-workspace
  14. +30 −0 slinkyConfig.js
  15. +2,349 −0 slinky_path2.html
  16. +85 −0 src/Animator.js
  17. +407 −0 src/Coil.js
  18. +128 −0 src/DataAdapters.js
  19. +89 −0 src/Easings.js
  20. +170 −0 src/Layouts.js
  21. +115 −0 src/Slinky.js
  22. +1,153 −0 src/Spring.js
  23. +162 −0 src/SurfaceMaps.js
  24. +6 −0 src/slinky.css
  25. +37,347 −0 testImageData.json
@@ -0,0 +1,14 @@
({
//- paths are relative to this app.build.js file
baseUrl: "src",
//- this is the directory that the new files will be. it will be created if it doesn't exist
dir: "dist",
// paths: {
// jquery: "some/other/jquery"
// },
removeCombined: true,
name: "Slinky",
// out: "Slinky.js"
})

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,15 @@
slinky.css
----------------
slinky.css
Slinky.js
----------------
Layouts.js
SurfaceMaps.js
Easings.js
DataAdapters.js
Animator.js
Coil.js
Spring.js
Slinky.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html>
<head>
<title>SlinkyJS</title>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
body{
font-family: 'Yanone Kaffeesatz', sans-serif;
}
</style>
<script src="libs/jquery-min.js"></script>
<script src="libs/hammer.js"></script>
<script src="libs/jsBezier-0.6.js"></script>
<script src="libs/raf_shim.js"></script>
<script src="slinkyConfig.js"></script>
<script data-main="src/Slinky" src="libs/require.js"></script>
<script type="text/javascript">
$().ready(function(){
// $('.start').click(init);
setTimeout(init,1000);
});
function init(){
console.log('starting');
var slinky = new Slinky();
$slinkyContainer = $('.slinkyContainer');
slinky.init($slinkyContainer,large2Row,this);
function refreshData(data,dataAdapter){
var s = slinky;
//if(!dataAdapter)dataAdapter=s.dataAdapters.JudyItem;
if (data.length)
this.setDisplayMode('hasData');
s.spring.initBoxes(data,dataAdapter,false);
s.spring.statsCache.endOfScrollFlag = false;
}
var dataUrl = 'http://ws-decor.art.com/api/decorProductSearch?engine=judy&pageNumber=1&numProducts=50&rsLimit=1000&moodId=undefined&paletteHex=dfdd78-695d87&statusMsg=0.632s%3A+200+of+1000+returned&refinements=&keyword=abstract&includePoster=true&includeArt=true&includeDecorProducts=false&totalRetrieved=0&getDataFromThisUrl=null&totalFound=1000&pageReturned=4';
$.getJSON(dataUrl,function(res){
refreshData(res);
})
}
</script>
</head>
<body>
<h1>SlinkyJS</h1>
<!-- <button class="start">Start</button> -->
<div class="slinkyContainer main"></div>
</body>
</html>
Oops, something went wrong.

0 comments on commit 2c2d7b9

Please sign in to comment.