Git Product home page Git Product logo

analytics.js's People

Contributors

billtrik avatar clontos avatar cvkef avatar dkart avatar fotos avatar harrisred avatar itholoenos avatar kosdiamantis avatar mrgoumx avatar mrwhizzy avatar zorbash avatar

Stargazers

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

Watchers

 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

Forkers

mrgoumx

analytics.js's Issues

cross-origin error when website inside an iframe

Hello,

when a website that uses skroutz analytics is loaded inside an iframe from a different domain, the following error is thrown in console:

Uncaught DOMException: Blocked a frame with origin "http://local.website.gr" from accessing a cross-origin frame. at https://analytics.skroutz.gr/js/payload.2a28b3be.min.js:1:5346 at https://analytics.skroutz.gr/js/payload.2a28b3be.min.js:2:21298

Use shared examples in specs

See: https://github.com/mochajs/mocha/wiki/Shared-Behaviours

In some specs we have multiple functions used as shared examples.
Shared behaviors should be split in separate files and should be required before the spec describe.

# In spec/shared_examples/command.coffee
define ->
  it 'does something', ->
  it 'does something else', ->
# In spec/actions_manager_spec.coffee
it_behaves_like = {}
require 'shared_examples/command', (command) ->
  it_behaves_like.command = command

describe 'ActionsManager', ->
  describe 'initialization', ->
  # something..

  describe 'commands', ->
    describe 'ecommerce', ->
      describe 'addOrder', ->
        it_behaves_like.command()

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.