App.Manifest shouldn't use App.__container__.lookup
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Nov 2014 17:07:13 +0000 (17:07 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Nov 2014 17:07:13 +0000 (17:07 +0000)
commit8ed7eaf75763f53a9a8e556cb64aa7551792289a
tree251a49a25c1c921fd3a945e661b7c2b2ed5e3bf8
parent29d4af75b607902442665171356d92f711c8a4c2
App.Manifest shouldn't use App.__container__.lookup
https://bugs.webkit.org/show_bug.cgi?id=138768

Reviewed by Andreas Kling.

Removed the hack to find the store object via App.__container__.lookup.
Pass around the store object instead.

* public/v2/app.js:
(App.DashboardRow._createPane): Add "store" property to the pane.
(App.DashboardPaneProxyForPicker._platformOrMetricIdChanged): Ditto.
(App.IndexController.gridChanged): Ditto.
(App.IndexController.actions.addRow): Ditto.
(App.IndexController.init): Ditto.
(App.Pane._fetch): Ditto.
(App.ChartsController._parsePaneList): Ditto.
(App.ChartsController._updateQueryString): Ditto.
(App.ChartsController.actions.addPaneByMetricAndPlatform): Ditto.
(App.BuildPopup): Ditto.
(App.AnalysisTaskRoute.model): Ditto.
(App.AnalysisTaskViewModel._taskUpdated): Ditto.

* public/v2/manifest.js:
(App.Manifest.fetch): Removed the code to find the store object.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v2/app.js
Websites/perf.webkit.org/public/v2/manifest.js