Adds an Ember tab to the browser's Developer Tools that allows you to inspectEmber objects in your application.
Install the extension from the Chrome Web Store.
OR:
yarn install
yarn global add ember-cli
yarn build
to build the dist
directorychrome://extensions
in ChromeDeveloper mode
is checkeddist/chrome
folder in the cloned repoInstall the Firefox addon.
OR:
yarn install
yarn global add ember-cli
yarn build
to build the dist
directoryabout:debugging
in Firefoxdist/firefox/manifest.json
file in the cloned repoyarn install
yarn global add ember-cli
yarn build
to build the dist
directorychrome://extensions
in OperaDeveloper mode
is checkeddist/chrome
folder in the cloned repojavascript: (function() { var s = document.createElement('script'); s.src = '//ember-extension.s3.amazonaws.com/dist_bookmarklet/load_inspector.js'; document.body.appendChild(s); }());
Internet explorer will open an iframe instead of a popup due to the lack of support for cross-origin messaging.
For development:
yarn serve:bookmarklet
javascript: (function() { var s = document.createElement('script'); s.src = 'http://localhost:9191/bookmarklet/load_inspector.js'; document.body.appendChild(s); }());
Run `yarn install && yarn global add ember-cli to install the required modules.
yarn build
to build the files in the dist
directoryyarn watch
To watch the files and re-build in dist
when anything changes (useful during development).yarn test
To run the tests in the terminalyarn start
To start the test server at localhost:4200/testing/tests
Patch versions are only committed to the stable branch. So we need to cherry-pick the commits we need from master and bump stable to the new patch version.
git checkout stable
yarn changelog
in your terminal.yarn version --patch
git push --tags
git push
When releasing a major/minor version, master would already have this version set, so what we need to do is to merge master into stable and release.
git checkout stable
git merge -X theirs master
yarn changelog
in your terminal.yarn version
(keep the same version number)git push --tags
git push
package.json
to the next major/minor version.We can take a snapshot of the current inspector version to support a specific Ember version range. This allows us to stop supporting old Ember versions in master without breaking the published inspector for old Ember apps. It works by serving a different inspector version based on the current app's Ember version.
The Ember versions supported by the current inspector are indicated in the emberVersionsSupported
array in package.json
.
Here are the steps to lock an inspector version:
master
. Skip this step if there are not new commits after the last release.config/secrets.json
file with the correct AWS credentials to push to S3. You can use config/secrets.json.sample
as a starting point.stable
) named after the Ember version range that will be supported by this branch. The min version in the range is the first element in the emberVersionsSupported
array in package.json
. The max version in the range is the first version that will not be supported. For example, a branch named ember-0.0.0-2.7.0
means it supports Ember 0.0.0 -> 2.6.0, and a branch named ember-2.7.0-3.4.0
means it supports Ember 2.7.0 -> Ember 3.3.2.package.json
's emberVersionsSupported
: add a second element that indicates the minimum Ember version the master
branch will not support.yarn lock-version
. This will build, compress, and upload this version to S3.master
branch.package.json
's previousEmberVersionsSupported
: add the first Ember version supported by the recently locked snapshot (the first element in the emberVersionsSupported
array).package.json
's emberVersionsSupported
: Take the last element from previousEmberVersionsSupported
and set it as the first element in this array. Set an empty string as the second element to indicate there's currently no maximum Ember version supported yet. emberVersionsSupported
array length should always be 2
indicating a [min, max] range.Below is an example scenario that assumes the current master
branch supports Ember version 2.7.0+ and we want to lock the version such that master
will support 3.4.0+. It also assumes the last Ember Inspector version released was 3.9.0.
3.10.0
if there are unreleased commits in master
.stable
called ember-2.7.0-3.4.0
.package.json
's emberVersionsSupported
from ["2.7.0", ""]
to ["2.7.0", "3.4.0"]
.yarn lock-version
.master
branch.lock-3.4.0
(branch name here is not important).package.json
's previousEmberVersionsSupported
from ["0.0.0"]
to ["0.0.0", "2.7.0"]
.package.json
's emberVersionsSupported
from ["2.7.0", ""]
to ["3.4.0", ""]
.master
.The Ember Inspector uses window messages, so if you are using window messages in your application code, make sure you verify the sender and add checks to your event listener so as not to conflict with the inspector's messages.
Ember检查器是一个浏览器插件,用于调试Ember应用程序。 灰烬检查员包括以下主题 - S.No. 灰烬检查员方式和描述 1 安装Inspector 您可以安装Ember检查器来调试您的应用程序。 2 Object Inspector Ember检查器允许与Ember对象进行交互。 3 The View Tree 视图树提供应用程序的当前状态。 4 检查路由,数据选项卡和库信息 您可以看到检查
英文原文: http://emberjs.com/guides/getting-ember/index/ Ember构建 Ember的发布管理团队针对Ember和Ember Data维护了不同的发布方法。 频道 最新的Ember和Ember Data的 Release,Beta 和 Canary 构建可以在这里找到。每一个频道都提供了一个开发版、最小化版和生产版。更多关于不同频道的信息可以查看博客
ember-addons-inspector Get all the information about the addons registered in your Ember project (addonor application). This addon adds an inspect command which facilitatesinspecting your project and
ember-emojione ember-emojione is your emoji solution for Ember, based on the EmojiOne project. EmojiOne version 2 is used, which is free to use for everyone (CC BY-SA 4.0), you're only required to giv
Ember 3D Ember 3D is an Ember addon for using Three.js - an easy to use, lightweight, javascript 3D library. It is designed to: Prescribe a solid file structure to Three.js code using ES6 modules. Ena
Ember Table An addon to support large data set and a number of features around table. Ember Table canhandle over 100,000 rows without any rendering or performance issues. Ember Table 3.x supports: Emb