SlideShare a Scribd company logo
1 of 68
Download to read offline
if ($("body").width() > 480) {
    require.config({
        paths: {
            "controllers":        "controllers/desktop",
            "views/page":         "views/desktop/page",
            "views/EditTopic":    "views/desktop/EditTopic",
            "views/EditSource":   "views/desktop/EditSource",
            "views/EditFolder":   "views/desktop/EditFolder"
        }
    });
}
if ($("body").width() > 480) {
    require.config({
        paths: {
            "controllers":        "controllers/desktop",
            "views/page":         "views/desktop/page",
            "views/EditTopic":    "views/desktop/EditTopic",
            "views/EditSource":   "views/desktop/EditSource",
            "views/EditFolder":   "views/desktop/EditFolder"
        }
    });
}
if ($("body").width() > 480) {
    require.config({
        paths: {
            "controllers":        "controllers/desktop",
            "views/page":         "views/desktop/page",
            "views/EditTopic":    "views/desktop/EditTopic",
            "views/EditSource":   "views/desktop/EditSource",
            "views/EditFolder":   "views/desktop/EditFolder"
        }
    });
}
if ($("body").width() > 480) {
    require.config({
        paths: {
            "controllers":        "controllers/desktop",
            "views/page":         "views/desktop/page",
            "views/EditTopic":    "views/desktop/EditTopic",
            "views/EditSource":   "views/desktop/EditSource",
            "views/EditFolder":   "views/desktop/EditFolder"
        }
    });
}
if ($("body").width() > 480) {
    require.config({
        paths: {
            "controllers":        "controllers/desktop",
            "views/page":         "views/desktop/page",
            "views/EditTopic":    "views/desktop/EditTopic",
            "views/EditSource":   "views/desktop/EditSource",
            "views/EditFolder":   "views/desktop/EditFolder"
        }
    });
}
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday
Responsive Web at Webtuesday

More Related Content

Similar to Responsive Web at Webtuesday

Rails 3: Dashing to the Finish
Rails 3: Dashing to the FinishRails 3: Dashing to the Finish
Rails 3: Dashing to the Finish
Yehuda Katz
 
Rails 3 overview
Rails 3 overviewRails 3 overview
Rails 3 overview
Yehuda Katz
 
HTML5 APIs - Where No Man Has Gone Before! - GothamJS
HTML5 APIs - Where No Man Has Gone Before! - GothamJSHTML5 APIs - Where No Man Has Gone Before! - GothamJS
HTML5 APIs - Where No Man Has Gone Before! - GothamJS
Robert Nyman
 
Cakefest 2010: API Development
Cakefest 2010: API DevelopmentCakefest 2010: API Development
Cakefest 2010: API Development
Andrew Curioso
 
On secure application of PHP wrappers
On secure application  of PHP wrappersOn secure application  of PHP wrappers
On secure application of PHP wrappers
Positive Hack Days
 

Similar to Responsive Web at Webtuesday (20)

Rails 3: Dashing to the Finish
Rails 3: Dashing to the FinishRails 3: Dashing to the Finish
Rails 3: Dashing to the Finish
 
Rails 3 overview
Rails 3 overviewRails 3 overview
Rails 3 overview
 
Aplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com BackboneAplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com Backbone
 
Acceptance Testing with Webrat
Acceptance Testing with WebratAcceptance Testing with Webrat
Acceptance Testing with Webrat
 
HTML5 APIs - Where No Man Has Gone Before! - GothamJS
HTML5 APIs - Where No Man Has Gone Before! - GothamJSHTML5 APIs - Where No Man Has Gone Before! - GothamJS
HTML5 APIs - Where No Man Has Gone Before! - GothamJS
 
Cakefest 2010: API Development
Cakefest 2010: API DevelopmentCakefest 2010: API Development
Cakefest 2010: API Development
 
Php frameworks
Php frameworksPhp frameworks
Php frameworks
 
Pyramid Lighter/Faster/Better web apps
Pyramid Lighter/Faster/Better web appsPyramid Lighter/Faster/Better web apps
Pyramid Lighter/Faster/Better web apps
 
Nashvile Symfony Routes Presentation
Nashvile Symfony Routes PresentationNashvile Symfony Routes Presentation
Nashvile Symfony Routes Presentation
 
Introduction to jQuery - Barcamp London 9
Introduction to jQuery - Barcamp London 9Introduction to jQuery - Barcamp London 9
Introduction to jQuery - Barcamp London 9
 
Building a real life application in node js
Building a real life application in node jsBuilding a real life application in node js
Building a real life application in node js
 
On secure application of PHP wrappers
On secure application  of PHP wrappersOn secure application  of PHP wrappers
On secure application of PHP wrappers
 
The things browsers can do! SAE Alumni Convention 2014
The things browsers can do! SAE Alumni Convention 2014The things browsers can do! SAE Alumni Convention 2014
The things browsers can do! SAE Alumni Convention 2014
 
Paris js extensions
Paris js extensionsParis js extensions
Paris js extensions
 
浜松Rails3道場 其の壱 プロジェクト作成〜Rouging編
浜松Rails3道場 其の壱 プロジェクト作成〜Rouging編浜松Rails3道場 其の壱 プロジェクト作成〜Rouging編
浜松Rails3道場 其の壱 プロジェクト作成〜Rouging編
 
Sprockets
SprocketsSprockets
Sprockets
 
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's PerspectiveTearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
Tearing the Sofa Apart: CouchDB and CouchApps from a Beginner's Perspective
 
Rails 6 frontend frameworks
Rails 6 frontend frameworksRails 6 frontend frameworks
Rails 6 frontend frameworks
 
Play vs Rails
Play vs RailsPlay vs Rails
Play vs Rails
 
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridasFrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
FrontInBahia 2014: 10 dicas de desempenho para apps mobile híbridas
 

More from Pierre Spring (6)

Frontend Performance - Web Entwickler Forum
Frontend Performance - Web Entwickler ForumFrontend Performance - Web Entwickler Forum
Frontend Performance - Web Entwickler Forum
 
JSDay Italy - Backbone.js
JSDay Italy - Backbone.jsJSDay Italy - Backbone.js
JSDay Italy - Backbone.js
 
Introduction to Scrum
Introduction to ScrumIntroduction to Scrum
Introduction to Scrum
 
Varnish Lightning Talk
Varnish Lightning TalkVarnish Lightning Talk
Varnish Lightning Talk
 
Oop in java script
Oop in java scriptOop in java script
Oop in java script
 
Speedy App: Frontend Performance Considerations
Speedy App: Frontend Performance ConsiderationsSpeedy App: Frontend Performance Considerations
Speedy App: Frontend Performance Considerations
 

Responsive Web at Webtuesday

  • 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. if ($("body").width() > 480) { require.config({ paths: { "controllers": "controllers/desktop", "views/page": "views/desktop/page", "views/EditTopic": "views/desktop/EditTopic", "views/EditSource": "views/desktop/EditSource", "views/EditFolder": "views/desktop/EditFolder" } }); }
  • 54. if ($("body").width() > 480) { require.config({ paths: { "controllers": "controllers/desktop", "views/page": "views/desktop/page", "views/EditTopic": "views/desktop/EditTopic", "views/EditSource": "views/desktop/EditSource", "views/EditFolder": "views/desktop/EditFolder" } }); }
  • 55. if ($("body").width() > 480) { require.config({ paths: { "controllers": "controllers/desktop", "views/page": "views/desktop/page", "views/EditTopic": "views/desktop/EditTopic", "views/EditSource": "views/desktop/EditSource", "views/EditFolder": "views/desktop/EditFolder" } }); }
  • 56. if ($("body").width() > 480) { require.config({ paths: { "controllers": "controllers/desktop", "views/page": "views/desktop/page", "views/EditTopic": "views/desktop/EditTopic", "views/EditSource": "views/desktop/EditSource", "views/EditFolder": "views/desktop/EditFolder" } }); }
  • 57. if ($("body").width() > 480) { require.config({ paths: { "controllers": "controllers/desktop", "views/page": "views/desktop/page", "views/EditTopic": "views/desktop/EditTopic", "views/EditSource": "views/desktop/EditSource", "views/EditFolder": "views/desktop/EditFolder" } }); }