From ed2d8ed1eaecba447a31322d99c9586593da44a3 Mon Sep 17 00:00:00 2001 From: M Mansoor Ali Date: Sun, 14 Jan 2018 17:18:47 +0500 Subject: [PATCH] finally demo working :') --- build/es5-bundled/bower.json | 5 +- build/es5-bundled/demo/index.html | 175 ++++++------------------ build/polymer.json | 1 + demo/index.html | 218 +++++++++--------------------- polymer.json | 3 +- sample.js | 1 + 6 files changed, 114 insertions(+), 289 deletions(-) create mode 100644 sample.js diff --git a/build/es5-bundled/bower.json b/build/es5-bundled/bower.json index 1747374..714350f 100644 --- a/build/es5-bundled/bower.json +++ b/build/es5-bundled/bower.json @@ -1,6 +1,9 @@ { "name": "titanium-grid", "description": "titanium-grid is a free, high-quality data grid / data table @Polymer elementPolymer element", + "authors": [ + "m-mansoor-ali" + ], "main": "titanium-grid.html", "dependencies": { "polymer": "Polymer/polymer#^2.0.0", @@ -21,7 +24,7 @@ "polymer": "^2.0.0" }, "demos": { - "Demo": "demo/index.html" + "Demo": "build/es5-bundled/demo/index.html" }, "keywords": [ "web-components", diff --git a/build/es5-bundled/demo/index.html b/build/es5-bundled/demo/index.html index d47c8d3..8a54935 100644 --- a/build/es5-bundled/demo/index.html +++ b/build/es5-bundled/demo/index.html @@ -30398,148 +30398,61 @@ }(Polymer.Element); window.customElements.define(TitaniumGrid.is, TitaniumGrid); - +
-

Using titanium-grid inside another element

+

titanium-grid demo

+ \ No newline at end of file diff --git a/build/polymer.json b/build/polymer.json index 55224f7..c0d810e 100644 --- a/build/polymer.json +++ b/build/polymer.json @@ -6,6 +6,7 @@ "demo\\*", "titanium-grid.html", "bower.json", + "sample.js", "demo\\index.html" ], "extraDependencies": [ diff --git a/demo/index.html b/demo/index.html index d101d3c..ab2e418 100644 --- a/demo/index.html +++ b/demo/index.html @@ -13,6 +13,8 @@ + + @@ -20,166 +22,70 @@
-

Using titanium-grid inside another element

+

titanium-grid demo

+ diff --git a/polymer.json b/polymer.json index f7202f0..d9e08a3 100644 --- a/polymer.json +++ b/polymer.json @@ -4,7 +4,8 @@ "index.html", "demo/*", "titanium-grid.html", - "bower.json" + "bower.json", + "sample.js" ], "extraDependencies": [ "bower_components/webcomponentsjs/webcomponents-lite.js", diff --git a/sample.js b/sample.js new file mode 100644 index 0000000..c228187 --- /dev/null +++ b/sample.js @@ -0,0 +1 @@ +let sampleData = [{ "name": "Melany Roobottom", "email": "mroobottom0@google.cn", "job": "VP Sales" }, { "name": "Adolf Bagg", "email": "abagg1@state.gov", "job": "Engineer II" }, { "name": "Marybelle Isacsson", "email": "misacsson2@mediafire.com", "job": "Assistant Manager" }, { "name": "Dallon Gloyens", "email": "dgloyens3@chronoengine.com", "job": "Chief Design Engineer" }, { "name": "Rosalinde Capel", "email": "rcapel4@bandcamp.com", "job": "Compensation Analyst" }, { "name": "Brit Rickard", "email": "brickard5@ca.gov", "job": "Database Administrator IV" }, { "name": "Aurea Summerlie", "email": "asummerlie6@addtoany.com", "job": "Physical Therapy Assistant" }, { "name": "Hank Matzl", "email": "hmatzl7@dailymail.co.uk", "job": "Biostatistician II" }, { "name": "Bartholomeus Hedworth", "email": "bhedworth8@freewebs.com", "job": "Speech Pathologist" }, { "name": "Westleigh Dopson", "email": "wdopson9@hao123.com", "job": "Occupational Therapist" }, { "name": "Xerxes Papachristophorou", "email": "xpapachristophoroua@ucla.edu", "job": "Mechanical Systems Engineer" }, { "name": "Germaine Give", "email": "ggiveb@zimbio.com", "job": "Environmental Tech" }, { "name": "Dannye Renzini", "email": "drenzinic@prlog.org", "job": "Social Worker" }, { "name": "Myriam Lomasny", "email": "mlomasnyd@engadget.com", "job": "Physical Therapy Assistant" }, { "name": "Nerissa Antonowicz", "email": "nantonowicze@nih.gov", "job": "Developer IV" }]; \ No newline at end of file