I hereby claim:
- I am airios on github.
- I am airios (https://keybase.io/airios) on keybase.
- I have a public key ASABjRNBkZ0HMPx0wEh_iT6yG0T0Rq5OtV9u4RqlhJUzjwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| <title>Getting Cross Domain JSON Data Using Y.jsonp()</title> | |
| <style type="text/css"> | |
| /*margin and padding on body element | |
| can introduce errors in determining | |
| element position and are not recommended; |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| <title>Y.Get Example</title> | |
| <script src="http://yui.yahooapis.com/3.3.0/build/yui/yui-min.js"></script> | |
| </head> | |
| <body> | |
| <h1>Y.Get Example</h1> |
| # themes/theme-name/app.rb | |
| require 'rubygems' # Can't leave < 1.9.2 hanging... | |
| require 'compass' | |
| require 'sinatra' | |
| require 'haml' | |
| module Nesta | |
| class App | |
| configure do |
| Resources for learning web design & front-end development: | |
| ================================================================================ | |
| **ONLINE** | |
| Design | |
| > http://52weeksofux.com | |
| > http://thedesigncubicle.com |
| module Nesta | |
| class App | |
| helpers do | |
| # Add new helpers here. | |
| def breadcrumb_label(page) | |
| (page.abspath == '/') ? 'Inicio' : page.heading | |
| end | |
| end | |
| # Add new routes here. |
| require 'rubygems' | |
| require 'sinatra' | |
| module Nesta | |
| class App | |
| helpers do | |
| def set_common_variables | |
| @menu_items = Nesta::Menu.for_path('/') | |
| @site_title = Nesta::Config.title |
| # Use the app.rb file to load Ruby code, modify or extend the models, or | |
| # do whatever else you fancy when the theme is loaded. | |
| require 'rubygems' | |
| require 'sinatra' | |
| module Nesta | |
| class App |