Giter VIP home page Giter VIP logo

learn's People

Contributors

codler avatar emirotin avatar inversion-des avatar jedwood avatar madgvox avatar martinkolarik avatar martypdx avatar rich-harris avatar staydecent avatar zakfu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learn's Issues

Removal of gh-pages branch

Looks like the build pushes it to surge. This means the Github pages version is not used anymore. Suggesting removal of the branch to remove confusion.

error in the tutorial

There is a function error in the tutorial : http://learn.ractivejs.org/expressions/1 , which the 'format' function for the third 'case num>1000' is wrong, suppose the 'population = 2000', it will output '2,0'.

Code:
error: 'if ( num > 1000 ) return ( Math.floor( num / 1000 ) ) + ',' + ( num % 1000 );'
It should work in this way: 'if ( num >= 1000 ) return ( Math.floor( num / 1000 ) ) + ',' + ( String.prototype.slice.call(num,-3) );'

Transitions part broken until page refreshed

I did all the tutorial steps in a row, and transitions didn't behave as expected (the 3 parts) :

  • Without "intro", the buttons were just piling up and didn't hide
  • With "intro", nothing happened when clicking the button.

A simple F5 fixed the problem.

Config : Chromium 51.0.2704.79 // Ubuntu 16.04 (64-bit)

Upgrade jshint

We're locked on an outdated version of jshint (2.6.3) until jshint/jshint#2362 is closed.

(Or move to eslint - not sure if eslint is suitable for in-browser lint-as-you-type applications though)

Features without tutorials

Off the top of my head:

  • Computed properties
  • Adaptors
  • Inline components
  • Component loaders
  • Pattern observers (observers are hardly mentioned at all in fact)
  • Contenteditable (ractivejs/ractive#579)

Feel free to add to this list...

Favicon 404

The favicon doesn't load except if you're at the very beginning of the tutorial.

If you go to http://learn.ractivejs.org/expressions/1/ for example, you'll have the following error :
GET http://learn.ractivejs.org/expressions/1/assets/favicon.png 404 (Not Found)

http://learn.ractivejs.org/list-sections/3 Execute doesn't reset state

I'm not sure what's going on, but when you do as the tutorial tells you and add to the end of the script the following:

var newSuperhero = {
  name: 'Storm',
  realname: 'Monroe, Ororo',
  power: 'Controlling the weather',
  info: 'http://www.superherodb.com/Storm/10-135/'
};

ractive.push('superheroes', newSuperhero);

Then every time you hit execute, another copy of storm gets added to the array, for multiple Stormy goodness.

divvy-vertical-control interfering with scrolling

The divvy-vertical-control between the tutorial text and the template and code areas for horizontal resizing is interfering with the scrolling of the tutorial text. It overlaps the scrollbar by more than 50% which makes it more likely to start a resize when you go to scroll the tutorial down by dragging. This happens in Chrome 41, Firefox 35 and IE 11 and can get real frustrating.

A possible solution that works in Chrome is:

.divvy-leaf.divvy-left {
  z-index: 11;
}

This CSS my be too general though, I don't know how divvy works.

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.