- windows:
<path to chrome>/chrome.exe --remote-debugging-port=9222
- macOS:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
- linux:
google-chrome --remote-debugging-port=9222
class FBGroupMemberRemover { | |
constructor() { | |
this.adminText = 'Admin'; | |
this.removeMemberModalHeadingText = 'Remove Member'; | |
this.memberElementSelector = '[data-name="GroupProfileGridItem"]'; | |
this.memberContextMenuSelector = 'button[aria-label="Member Settings"]'; | |
this.removeMemberButtonSelector = 'a[data-testid="leave_group"]' | |
this.removalOptions = { |
// ID:ember-cli-page-object.comma-separated-selectors | |
// Comma separated selectors are not supported in ember-cli-page-object. These selectors are going to throw an error in ember-cli-page-object v2.0. | |
// BAD | |
// <h1>A big title</h1> | |
// <h2>A smaller title</h2> | |
import { create, text } from "ember-cli-page-object"; |
UPDATE: You don't need shims anymore! We can just use this now, and eventually it'll even be in Ember core.
app.import()
works with node_modules
now! As of Ember 2.15. Previously it only worked with bower_components
and vendor
.
Docs for app.import
are here:
https://ember-cli.com/managing-dependencies#standard-non-amd-asset
Fastboot is currently transitioning to version 1.0 which introduces some breaking changes. The most pressing issue is that the approach previously suggested for handling dependencies in addons has changed.
This post has a bit of background of how Ember CLI and addons work followed by some details on how to migrate addons to the new Fastboot v1.0 structure.
TODO: basic package.json
, bower.json
, ember install
and ember-cli-build.js
/app.import
This ember service provides a way to make attomic changes to relationships and record values in Firebase. This is useful when you have relationships that are not simple parent/child relationships or need to updated fields across multiple records in an atomic transaction.
This code has been copied directly from my project and is intended to be used as an example rather than being cut/pasted directly into your project! :)
Please note this code is untested and usage is at your own risk!
class Python < Formula | |
desc "Interpreted, interactive, object-oriented programming language" | |
homepage "https://www.python.org" | |
head "https://hg.python.org/cpython", :using => :hg, :branch => "2.7" | |
url "https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz" | |
sha256 "eda8ce6eec03e74991abb5384170e7c65fcd7522e409b8e83d7e6372add0f12a" | |
revision 2 | |
bottle do | |
revision 3 |
Traceback (most recent call last): | |
File "/Users/cadams/.virtualenvs/wdl/bin/django-admin", line 11, in <module> | |
sys.exit(execute_from_command_line()) | |
File "/Users/cadams/.virtualenvs/wdl/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line | |
utility.execute() | |
File "/Users/cadams/.virtualenvs/wdl/lib/python2.7/site-packages/django/core/management/__init__.py", line 328, in execute | |
django.setup() | |
File "/Users/cadams/.virtualenvs/wdl/lib/python2.7/site-packages/django/__init__.py", line 18, in setup | |
apps.populate(settings.INSTALLED_APPS) | |
File "/Users/cadams/.virtualenvs/wdl/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate |
/* globals firebaseui */ | |
import Ember from 'ember'; | |
import firebase from 'firebase'; | |
const { computed, inject: { service } } = Ember; | |
export default Ember.Component.extend({ | |
firebaseApp: service(), | |
didInsertElement() { |
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |