From 0a46d268e1c4bc42ad7a831b7607672712503fd7 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 21 Jan 2015 23:49:21 -0800 Subject: Upgrading version 0.1.0 --- bigdata.js | 2021 ++++++++++++++++++++++++++++++++++++++++++++++++ bower.json | 19 + demo.html | 59 ++ ng-vaadin.js | 50 ++ vaadin-components.html | 538 +++++++++++++ 5 files changed, 2687 insertions(+) create mode 100644 bigdata.js create mode 100644 demo.html create mode 100644 ng-vaadin.js create mode 100644 vaadin-components.html diff --git a/bigdata.js b/bigdata.js new file mode 100644 index 0000000..b284aa0 --- /dev/null +++ b/bigdata.js @@ -0,0 +1,2021 @@ + myBigData = + [ + [ + "Patrik", + "Paul", + "Invent", + "results" + ], + [ + "John", + "Signell", + "Export", + "results" + ], + [ + "Patrik", + "Åstrand", + "Deliver", + "Grid" + ], + [ + "Leif", + "Suo-Anttila", + "Fix", + "results" + ], + [ + "Leif", + "Paul", + "Feed", + "the dog" + ], + [ + "Joonas", + "Suo-Anttila", + "Produce", + "Vaadin" + ], + [ + "Teemu", + "Ahlroos", + "Feed", + "Grid" + ], + [ + "Artur", + "Åstrand", + "Launch", + "teleportation" + ], + [ + "Leif", + "Lehtinen", + "Launch", + "Grid" + ], + [ + "Artur", + "Lindström", + "Polish", + "Vaadin" + ], + [ + "Artur", + "Suo-Anttila", + "Design", + "the dog" + ], + [ + "Joonas", + "Dahlström", + "Fix", + "soup" + ], + [ + "Joonas", + "Lindström", + "Implement", + "Grid" + ], + [ + "John", + "Ahlroos", + "Deliver", + "the dog" + ], + [ + "Henrik", + "Signell", + "Feed", + "the dog" + ], + [ + "Leif", + "Lehtinen", + "Implement", + "world peace" + ], + [ + "Artur", + "Suo-Anttila", + "Deliver", + "soup" + ], + [ + "Johannes", + "Åstrand", + "Disable", + "soup" + ], + [ + "Artur", + "Dahlström", + "Implement", + "soup" + ], + [ + "Artur", + "Signell", + "Deliver", + "Vaadin" + ], + [ + "Patrik", + "Dahlström", + "Design", + "results" + ], + [ + "Artur", + "Suo-Anttila", + "Export", + "the dog" + ], + [ + "Patrik", + "Paul", + "Establish", + "soup" + ], + [ + "Patrik", + "Lindström", + "Implement", + "world peace" + ], + [ + "Artur", + "Ahlroos", + "Polish", + "the weather" + ], + [ + "Henrik", + "Lindström", + "Design", + "Vaadin" + ], + [ + "Johannes", + "Suo-Anttila", + "Fix", + "results" + ], + [ + "Artur", + "Dahlström", + "Invent", + "results" + ], + [ + "Artur", + "Dahlström", + "Polish", + "results" + ], + [ + "Henrik", + "Suo-Anttila", + "Launch", + "soup" + ], + [ + "Teemu", + "Åstrand", + "Design", + "Grid" + ], + [ + "Patrik", + "Åstrand", + "Design", + "the dog" + ], + [ + "Joonas", + "Ahlroos", + "Invent", + "the dog" + ], + [ + "Patrik", + "Ahlroos", + "Implement", + "Vaadin" + ], + [ + "Henrik", + "Lindström", + "Produce", + "the weather" + ], + [ + "Patrik", + "Åstrand", + "Fix", + "world peace" + ], + [ + "Teemu", + "Lindström", + "Deliver", + "the dog" + ], + [ + "Teemu", + "Signell", + "Design", + "teleportation" + ], + [ + "Joonas", + "Lehtinen", + "Feed", + "the weather" + ], + [ + "Artur", + "Signell", + "Feed", + "Vaadin" + ], + [ + "John", + "Lehtinen", + "Design", + "the dog" + ], + [ + "Artur", + "Åstrand", + "Activate", + "world peace" + ], + [ + "Patrik", + "Paul", + "Design", + "Vaadin" + ], + [ + "Leif", + "Suo-Anttila", + "Deliver", + "world peace" + ], + [ + "Teemu", + "Signell", + "Feed", + "the dog" + ], + [ + "Johannes", + "Åstrand", + "Feed", + "the dog" + ], + [ + "Henrik", + "Åstrand", + "Disable", + "the weather" + ], + [ + "Henrik", + "Lehtinen", + "Disable", + "Grid" + ], + [ + "Teemu", + "Åstrand", + "Implement", + "Grid" + ], + [ + "Teemu", + "Åstrand", + "Implement", + "results" + ], + [ + "Artur", + "Lindström", + "Invent", + "the weather" + ], + [ + "Joonas", + "Signell", + "Implement", + "teleportation" + ], + [ + "Patrik", + "Ahlroos", + "Produce", + "teleportation" + ], + [ + "Johannes", + "Suo-Anttila", + "Establish", + "soup" + ], + [ + "Leif", + "Lehtinen", + "Design", + "results" + ], + [ + "John", + "Lindström", + "Invent", + "Grid" + ], + [ + "Teemu", + "Dahlström", + "Polish", + "Grid" + ], + [ + "Henrik", + "Suo-Anttila", + "Export", + "teleportation" + ], + [ + "Johannes", + "Signell", + "Activate", + "Grid" + ], + [ + "Leif", + "Signell", + "Activate", + "soup" + ], + [ + "Artur", + "Ahlroos", + "Launch", + "world peace" + ], + [ + "Artur", + "Paul", + "Feed", + "results" + ], + [ + "John", + "Åstrand", + "Fix", + "the dog" + ], + [ + "Teemu", + "Dahlström", + "Polish", + "Grid" + ], + [ + "Artur", + "Dahlström", + "Feed", + "Vaadin" + ], + [ + "Patrik", + "Ahlroos", + "Export", + "Grid" + ], + [ + "Henrik", + "Dahlström", + "Polish", + "world peace" + ], + [ + "Henrik", + "Signell", + "Import", + "Vaadin" + ], + [ + "Joonas", + "Åstrand", + "Deliver", + "results" + ], + [ + "Joonas", + "Åstrand", + "Launch", + "teleportation" + ], + [ + "Artur", + "Signell", + "Disable", + "results" + ], + [ + "Patrik", + "Signell", + "Deliver", + "Grid" + ], + [ + "Johannes", + "Suo-Anttila", + "Deliver", + "the weather" + ], + [ + "Teemu", + "Paul", + "Feed", + "results" + ], + [ + "Johannes", + "Lindström", + "Produce", + "soup" + ], + [ + "Artur", + "Lindström", + "Implement", + "teleportation" + ], + [ + "Patrik", + "Dahlström", + "Implement", + "Vaadin" + ], + [ + "Patrik", + "Lindström", + "Fix", + "Vaadin" + ], + [ + "Artur", + "Ahlroos", + "Launch", + "teleportation" + ], + [ + "John", + "Suo-Anttila", + "Launch", + "Grid" + ], + [ + "Johannes", + "Åstrand", + "Feed", + "results" + ], + [ + "Teemu", + "Lindström", + "Establish", + "soup" + ], + [ + "Leif", + "Suo-Anttila", + "Activate", + "results" + ], + [ + "Johannes", + "Lindström", + "Export", + "soup" + ], + [ + "Patrik", + "Lehtinen", + "Feed", + "the dog" + ], + [ + "Henrik", + "Suo-Anttila", + "Fix", + "the weather" + ], + [ + "Leif", + "Ahlroos", + "Export", + "world peace" + ], + [ + "Artur", + "Signell", + "Establish", + "the dog" + ], + [ + "Teemu", + "Ahlroos", + "Launch", + "the dog" + ], + [ + "Patrik", + "Åstrand", + "Disable", + "soup" + ], + [ + "Henrik", + "Signell", + "Polish", + "soup" + ], + [ + "Henrik", + "Suo-Anttila", + "Fix", + "teleportation" + ], + [ + "Teemu", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "John", + "Suo-Anttila", + "Import", + "the dog" + ], + [ + "Johannes", + "Åstrand", + "Disable", + "teleportation" + ], + [ + "Artur", + "Signell", + "Activate", + "the weather" + ], + [ + "John", + "Dahlström", + "Disable", + "world peace" + ], + [ + "Joonas", + "Ahlroos", + "Deliver", + "soup" + ], + [ + "Leif", + "Ahlroos", + "Implement", + "Vaadin" + ], + [ + "Henrik", + "Ahlroos", + "Export", + "the weather" + ], + [ + "Teemu", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "Joonas", + "Åstrand", + "Activate", + "soup" + ], + [ + "Joonas", + "Signell", + "Activate", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Invent", + "teleportation" + ], + [ + "Artur", + "Dahlström", + "Design", + "teleportation" + ], + [ + "Teemu", + "Ahlroos", + "Invent", + "results" + ], + [ + "Patrik", + "Lehtinen", + "Activate", + "results" + ], + [ + "Teemu", + "Lindström", + "Produce", + "results" + ], + [ + "Leif", + "Åstrand", + "Import", + "the weather" + ], + [ + "Joonas", + "Ahlroos", + "Launch", + "world peace" + ], + [ + "Leif", + "Signell", + "Import", + "the weather" + ], + [ + "Joonas", + "Ahlroos", + "Disable", + "the weather" + ], + [ + "Leif", + "Signell", + "Invent", + "results" + ], + [ + "John", + "Paul", + "Polish", + "soup" + ], + [ + "Leif", + "Åstrand", + "Feed", + "results" + ], + [ + "Leif", + "Åstrand", + "Implement", + "Grid" + ], + [ + "Artur", + "Ahlroos", + "Fix", + "the dog" + ], + [ + "John", + "Ahlroos", + "Establish", + "Vaadin" + ], + [ + "Teemu", + "Suo-Anttila", + "Produce", + "Vaadin" + ], + [ + "Artur", + "Ahlroos", + "Disable", + "teleportation" + ], + [ + "Artur", + "Lehtinen", + "Produce", + "Vaadin" + ], + [ + "Patrik", + "Suo-Anttila", + "Design", + "world peace" + ], + [ + "Johannes", + "Åstrand", + "Polish", + "world peace" + ], + [ + "Teemu", + "Lindström", + "Activate", + "teleportation" + ], + [ + "John", + "Ahlroos", + "Deliver", + "results" + ], + [ + "Henrik", + "Ahlroos", + "Design", + "Grid" + ], + [ + "Henrik", + "Lindström", + "Fix", + "the weather" + ], + [ + "Henrik", + "Suo-Anttila", + "Establish", + "Grid" + ], + [ + "Artur", + "Dahlström", + "Import", + "Vaadin" + ], + [ + "Artur", + "Signell", + "Export", + "world peace" + ], + [ + "Patrik", + "Paul", + "Design", + "world peace" + ], + [ + "Johannes", + "Suo-Anttila", + "Deliver", + "the dog" + ], + [ + "Joonas", + "Lindström", + "Implement", + "results" + ], + [ + "Joonas", + "Åstrand", + "Import", + "world peace" + ], + [ + "Leif", + "Lindström", + "Design", + "Grid" + ], + [ + "Henrik", + "Lindström", + "Implement", + "Grid" + ], + [ + "John", + "Dahlström", + "Activate", + "Vaadin" + ], + [ + "Artur", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "Henrik", + "Suo-Anttila", + "Produce", + "the weather" + ], + [ + "Patrik", + "Åstrand", + "Launch", + "the weather" + ], + [ + "Leif", + "Paul", + "Invent", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Feed", + "the dog" + ], + [ + "Leif", + "Signell", + "Implement", + "teleportation" + ], + [ + "Joonas", + "Suo-Anttila", + "Establish", + "results" + ], + [ + "John", + "Suo-Anttila", + "Disable", + "the dog" + ], + [ + "Joonas", + "Paul", + "Fix", + "Grid" + ], + [ + "Leif", + "Suo-Anttila", + "Invent", + "Grid" + ], + [ + "Johannes", + "Paul", + "Design", + "world peace" + ], + [ + "Joonas", + "Paul", + "Establish", + "the dog" + ], + [ + "Johannes", + "Lindström", + "Establish", + "Vaadin" + ], + [ + "Joonas", + "Signell", + "Export", + "Grid" + ], + [ + "Leif", + "Ahlroos", + "Invent", + "Grid" + ], + [ + "Patrik", + "Paul", + "Disable", + "world peace" + ], + [ + "John", + "Signell", + "Launch", + "results" + ], + [ + "Henrik", + "Lehtinen", + "Produce", + "the weather" + ], + [ + "Patrik", + "Suo-Anttila", + "Disable", + "Grid" + ], + [ + "Artur", + "Lindström", + "Launch", + "Vaadin" + ], + [ + "John", + "Lehtinen", + "Feed", + "world peace" + ], + [ + "Henrik", + "Åstrand", + "Launch", + "world peace" + ], + [ + "Leif", + "Lehtinen", + "Fix", + "teleportation" + ], + [ + "Henrik", + "Lindström", + "Export", + "Grid" + ], + [ + "Johannes", + "Signell", + "Polish", + "world peace" + ], + [ + "Henrik", + "Ahlroos", + "Export", + "Grid" + ], + [ + "Teemu", + "Paul", + "Fix", + "the weather" + ], + [ + "Artur", + "Suo-Anttila", + "Feed", + "the weather" + ], + [ + "John", + "Paul", + "Polish", + "results" + ], + [ + "Patrik", + "Lehtinen", + "Launch", + "teleportation" + ], + [ + "Joonas", + "Paul", + "Design", + "results" + ], + [ + "Artur", + "Signell", + "Polish", + "Grid" + ], + [ + "Leif", + "Suo-Anttila", + "Design", + "Grid" + ], + [ + "Henrik", + "Signell", + "Export", + "teleportation" + ], + [ + "Patrik", + "Lehtinen", + "Polish", + "Vaadin" + ], + [ + "Johannes", + "Signell", + "Activate", + "Vaadin" + ], + [ + "Patrik", + "Signell", + "Deliver", + "the weather" + ], + [ + "John", + "Signell", + "Feed", + "the dog" + ], + [ + "Artur", + "Paul", + "Polish", + "the weather" + ], + [ + "Leif", + "Ahlroos", + "Implement", + "results" + ], + [ + "Leif", + "Lehtinen", + "Implement", + "world peace" + ], + [ + "Joonas", + "Lehtinen", + "Establish", + "teleportation" + ], + [ + "Henrik", + "Dahlström", + "Polish", + "results" + ], + [ + "Teemu", + "Signell", + "Disable", + "world peace" + ], + [ + "Artur", + "Åstrand", + "Invent", + "Vaadin" + ], + [ + "Leif", + "Lindström", + "Import", + "the dog" + ], + [ + "Johannes", + "Ahlroos", + "Establish", + "world peace" + ], + [ + "Henrik", + "Lindström", + "Export", + "Vaadin" + ], + [ + "Joonas", + "Lehtinen", + "Activate", + "soup" + ], + [ + "Johannes", + "Paul", + "Launch", + "teleportation" + ], + [ + "Artur", + "Suo-Anttila", + "Feed", + "Grid" + ], + [ + "Leif", + "Paul", + "Implement", + "world peace" + ], + [ + "Joonas", + "Paul", + "Export", + "soup" + ], + [ + "Johannes", + "Signell", + "Launch", + "the dog" + ], + [ + "Patrik", + "Suo-Anttila", + "Polish", + "the dog" + ], + [ + "Leif", + "Paul", + "Establish", + "Grid" + ], + [ + "Artur", + "Paul", + "Implement", + "Grid" + ], + [ + "Leif", + "Signell", + "Polish", + "teleportation" + ], + [ + "Artur", + "Åstrand", + "Polish", + "soup" + ], + [ + "Joonas", + "Suo-Anttila", + "Activate", + "teleportation" + ], + [ + "Patrik", + "Ahlroos", + "Launch", + "soup" + ], + [ + "Patrik", + "Dahlström", + "Establish", + "soup" + ], + [ + "Teemu", + "Lindström", + "Deliver", + "soup" + ], + [ + "Henrik", + "Lehtinen", + "Disable", + "soup" + ], + [ + "Henrik", + "Åstrand", + "Produce", + "results" + ], + [ + "John", + "Åstrand", + "Implement", + "the dog" + ], + [ + "Joonas", + "Paul", + "Activate", + "soup" + ], + [ + "John", + "Ahlroos", + "Design", + "teleportation" + ], + [ + "Artur", + "Lindström", + "Deliver", + "results" + ], + [ + "Joonas", + "Suo-Anttila", + "Import", + "the dog" + ], + [ + "John", + "Dahlström", + "Export", + "the dog" + ], + [ + "Henrik", + "Signell", + "Import", + "results" + ], + [ + "Leif", + "Ahlroos", + "Invent", + "Vaadin" + ], + [ + "Artur", + "Åstrand", + "Invent", + "Vaadin" + ], + [ + "Patrik", + "Ahlroos", + "Polish", + "soup" + ], + [ + "Joonas", + "Suo-Anttila", + "Feed", + "the weather" + ], + [ + "Leif", + "Ahlroos", + "Activate", + "the dog" + ], + [ + "Patrik", + "Ahlroos", + "Produce", + "the dog" + ], + [ + "Henrik", + "Dahlström", + "Deliver", + "Grid" + ], + [ + "Patrik", + "Ahlroos", + "Activate", + "Grid" + ], + [ + "Teemu", + "Åstrand", + "Launch", + "world peace" + ], + [ + "Patrik", + "Dahlström", + "Disable", + "Grid" + ], + [ + "John", + "Åstrand", + "Design", + "the weather" + ], + [ + "Teemu", + "Lehtinen", + "Produce", + "world peace" + ], + [ + "Patrik", + "Suo-Anttila", + "Polish", + "the weather" + ], + [ + "Johannes", + "Lindström", + "Export", + "the weather" + ], + [ + "Patrik", + "Signell", + "Produce", + "world peace" + ], + [ + "John", + "Lehtinen", + "Fix", + "the dog" + ], + [ + "Johannes", + "Lehtinen", + "Disable", + "teleportation" + ], + [ + "Artur", + "Ahlroos", + "Export", + "Vaadin" + ], + [ + "Henrik", + "Ahlroos", + "Fix", + "Grid" + ], + [ + "Henrik", + "Lindström", + "Feed", + "the weather" + ], + [ + "Johannes", + "Dahlström", + "Establish", + "Vaadin" + ], + [ + "Henrik", + "Signell", + "Import", + "results" + ], + [ + "Patrik", + "Åstrand", + "Disable", + "world peace" + ], + [ + "Patrik", + "Suo-Anttila", + "Export", + "the dog" + ], + [ + "Teemu", + "Åstrand", + "Deliver", + "soup" + ], + [ + "Teemu", + "Signell", + "Import", + "Grid" + ], + [ + "Leif", + "Lindström", + "Design", + "soup" + ], + [ + "Patrik", + "Dahlström", + "Polish", + "soup" + ], + [ + "Johannes", + "Signell", + "Implement", + "soup" + ], + [ + "Joonas", + "Paul", + "Activate", + "world peace" + ], + [ + "Joonas", + "Suo-Anttila", + "Feed", + "results" + ], + [ + "Artur", + "Paul", + "Invent", + "results" + ], + [ + "Teemu", + "Paul", + "Fix", + "world peace" + ], + [ + "John", + "Åstrand", + "Implement", + "results" + ], + [ + "Teemu", + "Lehtinen", + "Implement", + "the weather" + ], + [ + "Henrik", + "Lehtinen", + "Fix", + "world peace" + ], + [ + "Teemu", + "Ahlroos", + "Feed", + "soup" + ], + [ + "Henrik", + "Ahlroos", + "Establish", + "Grid" + ], + [ + "Patrik", + "Lehtinen", + "Implement", + "Grid" + ], + [ + "Joonas", + "Åstrand", + "Feed", + "the dog" + ], + [ + "John", + "Lindström", + "Feed", + "results" + ], + [ + "Henrik", + "Suo-Anttila", + "Invent", + "Grid" + ], + [ + "Teemu", + "Lehtinen", + "Export", + "the dog" + ], + [ + "Patrik", + "Signell", + "Import", + "teleportation" + ], + [ + "Artur", + "Paul", + "Polish", + "Grid" + ], + [ + "Artur", + "Ahlroos", + "Activate", + "world peace" + ], + [ + "Patrik", + "Paul", + "Activate", + "results" + ], + [ + "Joonas", + "Ahlroos", + "Polish", + "the dog" + ], + [ + "John", + "Lehtinen", + "Polish", + "results" + ], + [ + "Leif", + "Lindström", + "Disable", + "world peace" + ], + [ + "John", + "Signell", + "Activate", + "Vaadin" + ], + [ + "Johannes", + "Suo-Anttila", + "Implement", + "the weather" + ], + [ + "Johannes", + "Lehtinen", + "Implement", + "teleportation" + ], + [ + "John", + "Signell", + "Establish", + "teleportation" + ], + [ + "Leif", + "Åstrand", + "Produce", + "world peace" + ], + [ + "Henrik", + "Lindström", + "Produce", + "teleportation" + ], + [ + "Teemu", + "Ahlroos", + "Import", + "teleportation" + ], + [ + "Henrik", + "Lindström", + "Produce", + "Vaadin" + ], + [ + "Artur", + "Dahlström", + "Design", + "soup" + ], + [ + "Teemu", + "Suo-Anttila", + "Establish", + "results" + ], + [ + "Joonas", + "Åstrand", + "Import", + "teleportation" + ], + [ + "John", + "Signell", + "Export", + "teleportation" + ], + [ + "Joonas", + "Suo-Anttila", + "Feed", + "world peace" + ], + [ + "Henrik", + "Dahlström", + "Feed", + "world peace" + ], + [ + "Johannes", + "Lehtinen", + "Produce", + "the dog" + ], + [ + "Patrik", + "Dahlström", + "Polish", + "the weather" + ], + [ + "Leif", + "Signell", + "Import", + "teleportation" + ], + [ + "Henrik", + "Paul", + "Activate", + "world peace" + ], + [ + "Artur", + "Dahlström", + "Design", + "world peace" + ], + [ + "Leif", + "Suo-Anttila", + "Activate", + "results" + ], + [ + "Patrik", + "Signell", + "Activate", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Activate", + "world peace" + ], + [ + "Patrik", + "Dahlström", + "Polish", + "the dog" + ], + [ + "Henrik", + "Åstrand", + "Establish", + "soup" + ], + [ + "Patrik", + "Signell", + "Deliver", + "Vaadin" + ], + [ + "Teemu", + "Åstrand", + "Launch", + "the weather" + ], + [ + "Patrik", + "Lindström", + "Polish", + "Grid" + ], + [ + "Henrik", + "Åstrand", + "Invent", + "the dog" + ], + [ + "Patrik", + "Ahlroos", + "Export", + "teleportation" + ], + [ + "Teemu", + "Signell", + "Export", + "Grid" + ], + [ + "Johannes", + "Ahlroos", + "Establish", + "soup" + ], + [ + "Teemu", + "Paul", + "Launch", + "world peace" + ], + [ + "Joonas", + "Lindström", + "Launch", + "soup" + ], + [ + "Artur", + "Lindström", + "Export", + "results" + ], + [ + "Joonas", + "Dahlström", + "Implement", + "teleportation" + ], + [ + "Artur", + "Ahlroos", + "Implement", + "the weather" + ], + [ + "Joonas", + "Suo-Anttila", + "Import", + "world peace" + ], + [ + "Johannes", + "Lindström", + "Launch", + "Vaadin" + ], + [ + "Johannes", + "Lindström", + "Export", + "Vaadin" + ], + [ + "Leif", + "Lindström", + "Establish", + "soup" + ], + [ + "Joonas", + "Dahlström", + "Activate", + "teleportation" + ], + [ + "Johannes", + "Lehtinen", + "Deliver", + "Grid" + ], + [ + "Henrik", + "Signell", + "Fix", + "Vaadin" + ], + [ + "Henrik", + "Suo-Anttila", + "Polish", + "Grid" + ], + [ + "Artur", + "Signell", + "Fix", + "world peace" + ], + [ + "Henrik", + "Suo-Anttila", + "Establish", + "results" + ], + [ + "Joonas", + "Signell", + "Feed", + "the weather" + ], + [ + "Artur", + "Dahlström", + "Disable", + "Vaadin" + ], + [ + "Leif", + "Suo-Anttila", + "Launch", + "the dog" + ], + [ + "Henrik", + "Åstrand", + "Invent", + "soup" + ], + [ + "Joonas", + "Paul", + "Deliver", + "Vaadin" + ], + [ + "John", + "Lindström", + "Invent", + "world peace" + ], + [ + "Leif", + "Åstrand", + "Deliver", + "results" + ], + [ + "Artur", + "Lindström", + "Fix", + "the dog" + ], + [ + "Henrik", + "Suo-Anttila", + "Activate", + "the dog" + ], + [ + "Leif", + "Paul", + "Deliver", + "results" + ], + [ + "Leif", + "Ahlroos", + "Disable", + "the weather" + ], + [ + "Artur", + "Suo-Anttila", + "Produce", + "soup" + ], + [ + "Artur", + "Signell", + "Disable", + "Vaadin" + ], + [ + "Joonas", + "Lehtinen", + "Launch", + "soup" + ], + [ + "Teemu", + "Lehtinen", + "Deliver", + "the weather" + ], + [ + "Henrik", + "Åstrand", + "Export", + "Grid" + ], + [ + "Artur", + "Lindström", + "Activate", + "soup" + ], + [ + "Artur", + "Dahlström", + "Implement", + "the weather" + ], + [ + "Joonas", + "Dahlström", + "Fix", + "the weather" + ], + [ + "Joonas", + "Dahlström", + "Activate", + "soup" + ], + [ + "Johannes", + "Dahlström", + "Fix", + "the weather" + ], + [ + "Artur", + "Åstrand", + "Implement", + "soup" + ], + [ + "Joonas", + "Ahlroos", + "Feed", + "the dog" + ], + [ + "John", + "Dahlström", + "Invent", + "soup" + ], + [ + "Patrik", + "Suo-Anttila", + "Design", + "results" + ], + [ + "Johannes", + "Lindström", + "Design", + "soup" + ], + [ + "Teemu", + "Paul", + "Fix", + "the weather" + ], + [ + "John", + "Paul", + "Produce", + "Vaadin" + ], + [ + "Leif", + "Suo-Anttila", + "Feed", + "Grid" + ], + [ + "Johannes", + "Åstrand", + "Disable", + "Vaadin" + ], + [ + "Patrik", + "Lehtinen", + "Fix", + "Vaadin" + ] + ]; + + myBigDataSize = myBigData.length; diff --git a/bower.json b/bower.json index e69de29..f605747 100644 --- a/bower.json +++ b/bower.json @@ -0,0 +1,19 @@ +{ + "name" : "vaadin-components", + "homepage": "http://vaadin.com", + "version" : "0.1.0", + "authors": [ + "manolo@vaadin.com" + ], + "description": "Vaadin web components", + "keywords": [ + "vaadin", + "web", + "components" + ], + "dependencies": { + "webcomponentsjs": "polymer/webcomponentsjs" + , "vaadin-valo": "" + }, + "license": "Apache" +} diff --git a/demo.html b/demo.html new file mode 100644 index 0000000..96fb618 --- /dev/null +++ b/demo.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + +

Slider

+
+ +
+ +

Progress

+
+ +
+ + + +

Grid

+ + + + + + + + + + +
NameValueProgress
+
+ + diff --git a/ng-vaadin.js b/ng-vaadin.js new file mode 100644 index 0000000..07f1664 --- /dev/null +++ b/ng-vaadin.js @@ -0,0 +1,50 @@ +(function(angular) {'use strict'; + + var vModule = angular.module('vaadin-x', []); + + function attrFnc() { + return { + restrict : 'E', + link : function(scope, element, attrs) { + + var attrMap = {}; + for ( var prop in attrs.$attr) { + var _attr = attrs.$attr[prop]; + var _match = element.attr(_attr).match(/\{\{\s*([\.\w]+)\s*\}\}/); + if (_match) { + attrMap[_attr] = _match[1]; + } + } + + new MutationObserver(function() { + scope.$apply(); + }).observe(element[0], { + attributes : true + }); + + scope.$watch(function() { + for ( var attr in attrMap) { + var value = element.attr(attr); + var tokens = attrMap[attr].split(/\./); + var parent = scope; + for (var i = 0; i < tokens.length - 1; i++) { + if (typeof (parent[tokens[i]]) == 'undefined') { + parent[tokens[i]] = {}; + } + parent = parent[tokens[i]]; + } + // console.log(tokens[tokens.length - 1] + " " + value); + parent[tokens[tokens.length - 1]] = value; + } + }); + } + }; + } + + var vaadinComponents = ['vSlider', 'vProgress', 'vGrid']; + + angular.forEach(vaadinComponents, function(tag) { + vModule.directive(tag, attrFnc); + }); + +})(angular); \ No newline at end of file diff --git a/vaadin-components.html b/vaadin-components.html new file mode 100644 index 0000000..2d72376 --- /dev/null +++ b/vaadin-components.html @@ -0,0 +1,538 @@ + + + + + + + + -- cgit v1.2.3