Code Monkey home page Code Monkey logo

examples's Introduction

Famous Examples

##DEPRECATED: please find our examples inside of our main repo

License

All the code in the src/examples folder is licensed under the MIT license. This is basically a better MIT license since it removes the ambiguous language from the original MIT.

The famous framework source code found in /src/famous is a git submodule cloned from the famous/famous git repo, and is licensed only under the MPL-2.0 license. More information about the licensing of that code can be found in the original repo.

MIT License (everything in src/examples)

Copyright (c) 2014 Famous Industries, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MPL-2.0 (everything in src/famous)

Copyright (c) 2014 Famous Industries, Inc.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

examples's People

Contributors

amielucha avatar andrewdeandrade avatar dmvaldman avatar drclick avatar fettermania avatar harlantwood avatar marklu avatar michaelobriena avatar mrnice avatar mylesborins avatar pilwon avatar sing-li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

Tagged releases

Why does examples not follow the tagged release approach of the main famous/famous repo?

For example, there is an examples.json file which states which examples go along with which version.

This approach will lead to cruft indefinitely in this repo, whereas tagged releases allow people to travel back in time to the commit with the examples for the specific version they want.

Keeping everything following the same approach makes scripting stuff easier since all the repos follow the same rules. I just encountered this because I was trying to get the examples for 0.2.1 to interpolate the path to each in the documents.

(cc: @dmvaldman )

Chrome Version 34.0.1847.116 - Issue on examples with non-fullscreen window.

Is anybody else having incredibly slow transitions on Chrome if the window is not on fullscreen mode?

On Safari it works smoothly both ways (fullscreen and window mode), but on Chrome it runs as it should only when in fullscreen. The whole browser actually becomes completely unresponsive until the transition ends.

Bluemix issue - Sorry i coudlnt find an email

Hi, I work for IBM and i ve been using your buildpack until now to get meteor to work on bluemix but after the GA, it seems like it doesnt work anymore, would you be able to go through your tutorial and verify whether or not it is sitll applicable ? Because as it is now, mongoDB as a service doesn t exist anymore, it has been replaced by mongoLab, thank you very much , and sorry again for using this space, it would be great if you could contact me by email, your work is very interesting. My contact is [email protected]

Draggable example doesn't work on Firefox

version 32.0.2

Works fine on Chrome, bug draggable surface a can't be dragged on firefox.

If I remove the 'grid' surface in the example, then the draggable surface can be dragged.

For lazy folks who wants to easily view all examples

If you want to change the current example, edit string in the require statement to point to any other file in the folder src/examples.

What???

Edit,
save,
reload
for every one of 50 examples? And then, if you want to go back, then you have to change it back, save again, and reload!

Too much work!

Here's the solution:

replace index.html with this super improved version:
https://github.com/iabdulin/examples/blob/24c02d909c2eb7e89ea09bdbc60365ff0290d575/index.html

What it does:

It adds ugly but useful table with links to ALL examples.
You click a link, it points to the same file as, for example index.html?views/SequentialLayout/example.js.

Then it requires specified example dynamically with

<script type="text/javascript">
  require(['src/examples/' + location.search.replace('?','')]);
</script>

Voila!

84697602-c134-11e3-96b6-4650b8bd6ef0-5

Normalized example names

The example names are inconsistent. Some use camelCase and others use kebab-case and at least one uses snake_case.

Should I go ahead and change the filenames for the examples to a canonical case style?

RSS or JSON-API news reader sample

Hey everybody,

I was wondering if there were any plans for an RSS or JSON-API based news reader sample for Famo.us, if not then I'd be happy to collaborate with somebody on this, there's myself and a colleague who would also be able to bring something to the table in terms of collaborations.

no clone

Permission denied (publickey).
fatal: Could not read from remote repository.

Black screen running any example

I used both middleman app bundle exec middleman server -p 10001 and jekyll serve --watch as I always do to run frontend backendless server. All examples came up with black screen and nothing else. I use this in Mac Chrome version.
Any idea?

Explicit Z-Indexing

There are quite a few examples that have surfaces that overlap, and they sit at the same exact z-depth. Since we're clearing the DOM quite often inside of FU, the surface on top is not always constant. It makes for a bad display of the example, to see the flickering as you edit content.

This problem can be avoided if we're more careful about placing the surface that's meant to be behind, explicitly at a depth of -1, or whatever makes sense for the demo.

SUPER WEIRD BUG! (Draggable example)

Are you ready?!

function GenericSync(options) {
        if (arguments.length === 2){
            this._legacyPositionGetter = arguments[0];
            options = arguments[1];
        }
        else this._legacyPositionGetter = null;
         ...

When GenericSync is called with 2 arguments, as in Draggable.js, at the end of this code, options has the value arguments[0], and arguments = [arguments[1], arguments[1]]

@michaelobriena @ftripier @fettermania

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.