Skip to content

Commit

Permalink
Dojo framework version 3 (#333)
Browse files Browse the repository at this point in the history
* Upgrade examples to dojo 3.0

* Update Dojo 2 references to Dojo

* Legacy build for IE

* legacy false

* dojo/widgets

* Add dojo/core back for sandbox

* Update to themes 3.0.1
  • Loading branch information
agubler committed Jul 31, 2018
1 parent 07e0ea7 commit a44a73c
Show file tree
Hide file tree
Showing 174 changed files with 24,194 additions and 11,690 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -2,9 +2,9 @@

[![Build Status](https://travis-ci.org/dojo/examples.svg?branch=master)](https://travis-ci.org/dojo/examples)

This repository contains example applications built using Dojo 2.
This repository contains example applications built using Dojo.

For current progress on Dojo 2, contribution guidelines and other information, please visit [`dojo/meta`](https://github.com/dojo/meta).
For current progress on Dojo, contribution guidelines and other information, please visit [`dojo/meta`](https://github.com/dojo/meta).

- [Examples](#examples)
- [How do I contribute?](#how-do-i-contribute)
Expand All @@ -17,13 +17,13 @@ Here is a table of the current examples available in this repository complete wi

| Example | Code | Demo | Overview |
|---|---|---|---|
| todoMVC | [Link](./todo-mvc) | [Link](https://dojo.github.io/examples/todo-mvc) | A reference implementation of [TodoMVC](http://todomvc.com/) built with current Dojo 2 packages. |
| todoMVC Kitchen Sink | [Link](./todo-mvc-kitchensink) | [Link](https://dojo.github.io/examples/todo-mvc-kitchensink) | A feature-rich version of TodoMVC, built Dojo 2 packages. |
| todoMVC - tsx | [Link](./todo-mvc-tsx) | [Link](https://dojo.github.io/examples/todo-mvc-tsx) | A reference implementation of [TodoMVC](http://todomvc.com/) built using `tsx`, [Redux](https://github.com/reactjs/redux) and Dojo 2 packages. |
| todoMVC | [Link](./todo-mvc) | [Link](https://dojo.github.io/examples/todo-mvc) | A reference implementation of [TodoMVC](http://todomvc.com/) built with current Dojo packages. |
| todoMVC Kitchen Sink | [Link](./todo-mvc-kitchensink) | [Link](https://dojo.github.io/examples/todo-mvc-kitchensink) | A feature-rich version of TodoMVC, built Dojo packages. |
| todoMVC - tsx | [Link](./todo-mvc-tsx) | [Link](https://dojo.github.io/examples/todo-mvc-tsx) | A reference implementation of [TodoMVC](http://todomvc.com/) built using `tsx`, [Redux](https://github.com/reactjs/redux) and Dojo packages. |
| hnpwa | [Link](./hnpwa) | [Link](https://dojo-2-hnpwa-d668d.firebaseapp.com/) | Progressive Web application Hacker News implementation of [HNPWA](https://http://hnpwa.com/). |
| Widget Showcase | [Link](./widget-showcase/README.md) | [Link](https://dojo.github.io/examples/widget-showcase) | Show case widgets from [@dojo/widgets](https://github.com/dojo/widgets). |
| Custom Element Widget Showcase | [Link](./custom-element-showcase/README.md) | [Link](https://dojo.github.io/examples/custom-element-showcase) | Demonstrates using @dojo/widgets distributed as compiled custom elements. |
| Custom Element Menu | [Link](./custom-element-menu/README.md) | [Link](https://dojo.github.io/examples/custom-element-menu) | Demonstrates custom element usage against standard Dojo 2 widget usage. |
| Custom Element Menu | [Link](./custom-element-menu/README.md) | [Link](https://dojo.github.io/examples/custom-element-menu) | Demonstrates custom element usage against standard Dojo widget usage. |
| RealWorld Application | [Link](./realworld/README.md) | [Link](https://dojo.github.io/examples/realworld) | A realworld implementation of a medium clone, conduit. |
| Intersection Observer | [Link](./intersection-observer/README.md) | [Link](https://dojo.github.io/examples/intersection-observer/) | Demonstrates using the [`Intersection`](https://github.com/dojo/widget-core#intersection) meta for creating an infinite scrolling list. |
| Resize Observer | [Link](./resize-observer/README.md) | [Link](https://dojo.github.io/examples/resize-observer/) | Demonstrates using the [`Resize`](https://github.com/dojo/widget-core#resize) meta for creating responsive components that dynamically modify the way they are renderd based on the space available to them. |
Expand Down
10 changes: 5 additions & 5 deletions custom-element-menu/README.md
@@ -1,6 +1,6 @@
# Dojo2 Custom Element Menu Demo
# Dojo Custom Element Menu Demo

Implementation of a basic menu widget that demonstrates using as custom elements against standard Dojo 2 widgets.
Implementation of a basic menu widget that demonstrates using as custom elements against standard Dojo widgets.

- [Pre-requisites](#pre-requisites)
- [Usage](#usage)
Expand Down Expand Up @@ -38,16 +38,16 @@ Open the `dist` directory using a local webserver.

## Features

This package demonstrates how to use Dojo 2 widgets as a custom element.
This package demonstrates how to use Dojo widgets as a custom element.

Notice `src/widgets/createMenuElement.ts` and `src/widgets/createMenuItemElement.ts` describe the custom elements.
To build the custom elements, the `npm run build` command above first runs `dojo build` and then
To build the custom elements, the `npm run build` command above first runs `dojo build` and then

```shell
dojo build --element=src/widgets/createMenuItemElement.ts
dojo build --element=src/widgets/createMenuElement.ts
```
Those CLI build commands use webpack to create bundles in the `dist` directory for each custom element.
Those CLI build commands use webpack to create bundles in the `dist` directory for each custom element.
To use those custom elements in your own HTML page, import the custom elements' HTML files:

```html
Expand Down

0 comments on commit a44a73c

Please sign in to comment.