Giter Club home page Giter Club logo

seaside-bootstrap's Introduction

Seaside-Bootstrap

Bootstrap for Seaside wrapper for Pharo

Note: this is outdated and we only provide it for compatibility. Be aware that there are newer packages available for newer Pharo, Bootstrap and Seaside versions, see:

Prerequisites

Pharo 6

In Pharo 6 first run:

Iceberg enableMetacelloIntegration: true.
IceMetacelloPharoPlatform select.

then proceed with the load expressions given in "Installation" section.

Pharo 7 and Pharo 8

You can clone the project and run the download.sh script

git clone https://github.com/astares/Seaside-Bootstrap.git
cd Seaside-Bootstrap
./download.sh

If you already have a Pharo 7 or later image just proceed with the load expressions given in "Installation" section.

Installation

Loading latest stable version using config

Metacello new
  configuration:'Bootstrap';
  repository: 'github://astares/Seaside-Bootstrap:master/src';
  version: #stable;
  load

Loading latest development version using baseline

Metacello new
 baseline:'Bootstrap';
 repository: 'github://astares/Seaside-Bootstrap:master/src';
 load

seaside-bootstrap's People

Contributors

astares avatar seandenigris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

seaside-bootstrap's Issues

jQuery conflict with latest Seaside

Hi, when running Seaside-Bootstrap application with the latest Seaside on Pharo 7.0 the browser reports:

Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3"
in the console. 

and mouse clicks won't work (as tested with Chrome, Firefox, Edge). At the same time, browser's console reports jQuery version 3.3.1 ($.fn.jquery). This is true for the bootstrap application, too.

This might be related to the issue Bootstrap v3 is not compatible with jQuery 3.0 that has been resolved in Bootstrap 3.3.7.

A simple workaround is to copy&paste the Bootstrap 3.3.7 code directly into TBSDevelopmentLibrary and TBSDeploymentLibrary.

Fixing portability issues with Squeak 5.1 on Seaside 3.1

Symptoms: Clicking the "Browse" button on the examples throws a DNU. Proceeding allows the examples to show up, however, there is no source code in the "source code" box.

Tobias Pape suggested this fix as documented here: http://forum.world.st/unregistered-not-called-on-expired-session-td5070103.html#a5070624

TL;DR

Add class side method to

TBSBootstrapExample class >>methodNamed: aSymbol
^ self >> aSymbol

Add instance side method to:

CompiledMethod >sourceCode
^ self getSource

Usage of #anyOne

The method #testTbsButtonWithCancelCallback uses the non-portable method #anyOne in stead of the portable #any.

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.