Git Product home page Git Product logo

ember-hammertime's People

Contributors

dubistkomisch avatar ember-tomster avatar eriktrom avatar greenkeeper[bot] avatar hbrysiewicz avatar john-griffin avatar mattmcmanus avatar mike-north avatar pieter-v avatar robbiethewagner avatar runspired avatar simonihmig avatar suilaiji avatar thoov avatar wongpeiyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ember-hammertime's Issues

An in-range update of eslint-plugin-ember is breaking the build 🚨

The devDependency eslint-plugin-ember was updated from 5.2.0 to 5.3.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-ember is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

An in-range update of ember-resolver is breaking the build 🚨

The devDependency ember-resolver was updated from 5.2.1 to 5.3.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ember-resolver is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for Release 5.3.0

v5.3.0 (2019-09-24)

🚀 Enhancement

  • #417 Add support for nested colocated components. (@rwjblue)

Committers: 1

Commits

The new version differs by 8 commits.

  • 56e4304 Release 5.3.0
  • fd8701e Add support for nested colocated components. (#417)
  • 28ef51e Add resolution for engine.io.
  • a2be8db Upgrade to xenial
  • e63891d Add support for nested colocated components.
  • 98dc24f [Security] Bump mixin-deep from 1.3.1 to 1.3.2
  • 2b698fe Bump ember-load-initializers from 2.0.0 to 2.1.0
  • f7e4237 [Security] Bump eslint-utils from 1.3.1 to 1.4.2

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Prevent the AST Walker to add the touch-action styles multiple times to DOM Element within a loop

The ast walker is adding the touch-action styles multiple times to each dom element withing a loop as described in this example:

//JS file
import Component from '@ember/component';
export default Component.extend({
	actions: {
		jumpTo() {
			//
		}
	},

	init() {
		this._super(...arguments);
		this.set('data', [1,2,3]);
	}
});

// HBS file
{{#each data as |item|}}
	<div class="jumpable-{{item}}" onclick={{action 'jumpTo'}}>Hammer Time {{item}}</div>
{{/each}}

// DOM result 

<div style="touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;" class="jumpable-1">Hammer Time 1</div>
<div style="touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;" class="jumpable-2">Hammer Time 2</div>
<div style="touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;" class="jumpable-3">Hammer Time 3</div>

The solution could be as simple as a check in the walker if the node has already a touch action properties, if I'm not missing something:

TouchActionSupport.prototype.transform = function TouchActionSupport_transform(ast) {
  var pluginContext = this;
  var walker = new pluginContext.syntax.Walker();

  walker.visit(ast, function(node) {
    if (pluginContext.validate(node)) {
      var style = elementAttribute(node, 'style');
      if (!style) {
        style = {
          type: 'AttrNode',
          name: 'style',
          value: { type: 'TextNode', chars: '' }
        };
        node.attributes.push(style);
      }
      // insert the touch action properties only if not present
      if(style.value.chars.indexOf(touchActionProperties)===-1) {
	      style.value.chars += touchActionProperties;
      }
    }
  });

  return ast;
};

I can open an PR with a test if that can help!

Thanks

You cannot use `attributeBindings` on a tag-less component

I've just migrated my application to ember.js 2.8 and it started throwing error in the console.

Uncaught Error: Assertion Failed: You cannot use attributeBindings on a tag-less component: <yyyyyy@component:xxxxx::ember382>

Due to this error, the app doesn't load and shows an empty page.

I've created a small demo app with just ember-hammertime and a tagless component and it still throws the same error: https://github.com/thagul/hammertime-2-8
To verify just run the app and check the console.

An in-range update of ember-try is breaking the build 🚨

The devDependency ember-try was updated from 1.2.1 to 1.3.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ember-try is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for Release 1.3.0

v1.3.0 (2019-11-11)

🚀 Enhancement

Committers: 2

Commits

The new version differs by 16 commits.

  • a0bcb48 Release 1.3.0
  • ffa96a4 Update repository info in package.json & sort-package-json
  • 0b92526 Add v1.3.0 to CHANGELOG.md.
  • 0f887ba Add support for using yarn.lock file (#409)
  • f7dee65 Add support for buildManagerOptions to override default options for install
  • 57d9ea2 [Security] Bump atob from 2.0.3 to 2.1.2 in /smoke-test-app
  • 74de720 Deprecate bower support in ember-try (#402)
  • 6fbd09f Deprecate bower support in ember-try
  • d2fb312 Schedule floating-deps test
  • 74e7bbb Use circleci for CI
  • ff4ff55 Use dummy packages in tests to prevent output spew (#344)
  • b8037db Bump ember-source from 3.9.1 to 3.10.0
  • a621231 Add dependabot config to update weekly, and update smoke-test-app too
  • f99f548 Use dummy packages in tests to prevent output spew
  • 6326017 Don't install bower in circleci setup

There are 16 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ember-cli-template-lint is breaking the build 🚨

The devDependency ember-cli-template-lint was updated from 1.0.0-beta.3 to 1.0.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-template-lint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v1.0.0 (2020-01-08)

CHANGELOG

Commits

The new version differs by 30 commits.

  • 09440a8 Fix CHANGELOG
  • 52ee672 v1.0.0
  • 3555f4a Update CHANGELOG
  • 86d6e53 Merge pull request #558 from ember-template-lint/remove-jshintrc
  • fbb9709 Update README
  • 1f8ff8b Remove jshintrc
  • cd105ec [Security] Bump handlebars from 4.1.0 to 4.5.3
  • 45ade45 Bump ember-cli-inject-live-reload from 1.10.1 to 2.0.2 (#535)
  • d45ea27 Bump broccoli-test-helper from 1.5.0 to 2.0.0 (#419)
  • 1c7156e Merge pull request #541 from ember-template-lint/dependabot/npm_and_yarn/ember-load-initializers-2.1.1
  • 034c425 Bump ember-load-initializers from 1.1.0 to 2.1.1
  • c8196a9 Updated ember-template-lint dependency for #529 (#533)
  • 6fd1e37 Updated ember-template-lint dependency for #529
  • 72d60ac [Security] Bump mixin-deep from 1.3.1 to 1.3.2
  • be57b6e [Security] Bump eslint-utils from 1.3.1 to 1.4.2

There are 30 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Breaks the build in 2.15-beta.1

If I add this addon to a new 2.15-beta.1 app, I'm getting build errors like these:

The Broccoli Plugin: [BroccoliMergeTrees: TreeMerger (preprocessedApp & templates)] failed with:
TypeError: Cannot read property 'visitors' of undefined
    at preprocess (P:\Projects\reproduction-build1\node_modules\ember-source\dist\ember-template-compiler.js:3921:47)
    at exports.precompile (P:\Projects\reproduction-build1\node_modules\ember-source\dist\ember-template-compiler.js:1551:42)
    at Object.exports.default (P:\Projects\reproduction-build1\node_modules\ember-source\dist\ember-template-compiler.js:16409:12)
    at Object.template (P:\Projects\reproduction-build1\node_modules\ember-cli-htmlbars\utils.js:29:40)
    at TemplateCompiler.processString (P:\Projects\reproduction-build1\node_modules\ember-cli-htmlbars\index.js:76:40)
    at Promise.then.result.output (P:\Projects\reproduction-build1\node_modules\broccoli-persistent-filter\lib\strategies\persistent.js:41:23)
    at initializePromise (P:\Projects\reproduction-build1\node_modules\rsvp\dist\rsvp.js:567:5)
    at new Promise (P:\Projects\reproduction-build1\node_modules\rsvp\dist\rsvp.js:1039:33)
    at P:\Projects\reproduction-build1\node_modules\broccoli-persistent-filter\lib\strategies\persistent.js:40:18
    at tryCatch (P:\Projects\reproduction-build1\node_modules\rsvp\dist\rsvp.js:525:12)

The broccoli plugin was instantiated at:
    at BroccoliMergeTrees.Plugin (P:\Projects\reproduction-build1\node_modules\broccoli-plugin\index.js:7:31)
    at new BroccoliMergeTrees (P:\Projects\reproduction-build1\node_modules\ember-cli\node_modules\broccoli-merge-trees\index.js:16:10)
    at Function.BroccoliMergeTrees [as _upstreamMergeTrees] (P:\Projects\reproduction-build1\node_modules\ember-cli\node_modules\broccoli-merge-trees\index.js:10:53)
    at mergeTrees (P:\Projects\reproduction-build1\node_modules\ember-cli\lib\broccoli\merge-trees.js:85:33)
    at EmberApp._mergeTrees (P:\Projects\reproduction-build1\node_modules\ember-cli\lib\broccoli\ember-app.js:1840:12)
    at EmberApp.appAndDependencies (P:\Projects\reproduction-build1\node_modules\ember-cli\lib\broccoli\ember-app.js:1130:51)
    at EmberApp.javascript (P:\Projects\reproduction-build1\node_modules\ember-cli\lib\broccoli\ember-app.js:1253:30)
    at EmberApp.toArray (P:\Projects\reproduction-build1\node_modules\ember-cli\lib\broccoli\ember-app.js:1697:12)
    at EmberApp.toTree (P:\Projects\reproduction-build1\node_modules\ember-cli\lib\broccoli\ember-app.js:1719:38)
    at module.exports (P:\Projects\reproduction-build1\ember-cli-build.js:28:14)

Output from ember version --verbose && npm --version && yarn --version:

ember-cli: 2.15.0-beta.1
http_parser: 2.7.0
node: 6.11.0
v8: 5.1.281.102
uv: 1.11.0
zlib: 1.2.11
ares: 1.10.1-DEV
icu: 58.2
modules: 48
openssl: 1.0.2k
os: win32 x64
npm: 4.6.1
yarn: 0.27.5

ember-cli-babel: 6.6.0
ember-cli-htmlbars: 2.0.2

ember 3.11: hammertime triggers syle binding warning

As already reported to the ember repo here, when ember > 3.11 is used with this addon, code like

<span class="trigger" {{action (toggle '_expanded' this)}}>

will trigger the following warning:

WARNING: Binding style attributes may introduce cross-site scripting vulnerabilities; please ensure that values being bound are properly escaped. For more information, including how to disable this warning, see https://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. Style affected: "touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;"

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Unexpected token error on new install

Trying to install (currently on Ember 1.13.8) and keep getting and unexpected token error:
Unexpected token ,
.../node_modules/ember-hammertime/htmlbars-plugins/touch-action.js:122
TouchActionSupport,

An in-range update of ember-export-application-global is breaking the build 🚨

The devDependency ember-export-application-global was updated from 2.0.0 to 2.0.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ember-export-application-global is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Breaks your octane app - be careful

With ember-hammertime installed:

Template Compiler Error (TemplateCompiler) in lords-fielder-tool/application/template.hbs

Cannot read property 'start' of undefined

add ember-cli-changelog

It includes babel 5.x in its dependencies. Fixing this should allow using it again here and in ember-gestures

wild guess atm

An in-range update of ember-try is breaking the build 🚨

The devDependency ember-try was updated from 1.0.0 to 1.1.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ember-try is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 6 commits.

  • a4d68db 1.1.0
  • 5544c86 Add v1.1.0 to CHANGELOG.md.
  • d7de64a Merge pull request #209 from pzuraq/feat/add-workspace-dependency-manager
  • c7ad49c add README documentation
  • e9cd69e [feat] Adds support for Yarn/NPM workspaces
  • c5885e2 Note dropping Node 4 in CHANGELOG

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

[Inconsistent] iOS compatibility issues with iOS 9.3 / iOS10

Same issue as #6. Hammertime not working with iOS 9.3, tested with 4 devices. Works perfectly on 9.2

  • Fastlick not installed
  • ember-hammertime 1.0.0
  • Ember 2.6.2
  • Meta tags set touser-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width
  • touch-action: manipulation being applied
  • Added [data-ember-action], a, button, input, .link { cursor: pointer; } to stylesheet
  • Cordova 6.2.0

An in-range update of ember-cli-inject-live-reload is breaking the build 🚨

The devDependency ember-cli-inject-live-reload was updated from 1.10.0 to 1.10.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ember-cli-inject-live-reload is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 15 commits.

  • da9e570 v1.10.1
  • 8844673 Update Changelog
  • 06cae3f Merge pull request #57 from ember-cli/add-linting
  • 5c3fcbe Fix lint issues.
  • 1d863cc Add linting to CI.
  • 7f84828 Add eslint and eslint-plugin-node.
  • ba1d783 Merge pull request #59 from Turbo87/declare-node-compat
  • e896559 package.json: Declare Node.js version requirements
  • db3f067 Merge pull request #58 from Turbo87/tests
  • 159ce91 Fix issues with running under Node 4.
  • fba28eb Add missing use strict directive
  • a975535 Pin qunit to v2.6.x for Node 4 compat
  • 520fe25 Downgrade lerna-changelog to v0.7.0 for Node 4 compat
  • 2278338 Add TravisCI config file
  • 08cc356 Add a test script

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

ember-cli deprecation warnings

I'm getting the following errors in my ember-cli output

DEPRECATION: ember-cli-htmlbars-inline-precompile is opting out of caching due to an AST plugin that does not provide a caching strategy: `touch-action`.

DEPRECATION: ember-cli-htmlbars is opting out of caching due to an AST plugin that does not provide a caching strategy: `touch-action`.

I chatted to @runspired and this has actually been fixed in develop branch. I can confirm that if I run against the develop branch then the warning dissapears. Just leaving this here to help anyone that might encounter this until a new version is released

isHTMLSafe is not defined

In the touch-action.js Mixin, there is a reference to Ember.String.isHTMLSafe, which is not a valid Ember resource. This is causing the code to break when otherStyle is valid.

screen shot 2016-10-11 at 2 34 48 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.