Questions tagged [jsbin]

jsbin is an online editor for sharing and editing code.

jsbin is similar to it allow creating, sharing and editing web including , and through the community. jsbin make it easy teamwork development and troubleshooting by making modular working demos of code available for everyone in your team or community.

Alert: Regarding this tag in a question should be only when your issue or question is meant by the usage of jsbin.

130 questions
1
vote
1 answer

Each model Ember not listing the models in template

I am using Ember.RSVP.hash to create different models in the same route, i successfully create the model records in the store, i can see the data in the console. The problem is that i can only list one the two models in my template. ( repos name…
Koala7
  • 1,340
  • 7
  • 41
  • 83
1
vote
2 answers

jsbin produces "Script error. (line 0)" when using console.log("test")

I wrote a one line JS script in jsbin and in the console, it spits out an error. console.log("test"); In the console on jibs, it shows: "error" "Script error. (line 0)" test Why? Pretty valid piece of code.
Sean Coleman
  • 103
  • 7
1
vote
1 answer

Aggregation for Ember Data Async Relationships

I have an Invoice composed by more transactions, any transaction has a total amount as final result which comes from the multiplication of two values: quantity and fare I am try to calculate the sum of all these total of any transaction This is the…
Koala7
  • 1,340
  • 7
  • 41
  • 83
1
vote
1 answer

regex giving console output in chrome console and JSBin

Interesting little pickle: I was using JSbin to practice converting single quotes to double quotes. The readout in the JSbin console kept inexplicably giving me "\". Then when I tried running the same code in the chrome console, the switch worked…
Goodword
  • 1,565
  • 19
  • 27
1
vote
1 answer

TagName Input not displayed in my ember View

I want my ember view displaying the result of the total calculation in an input in order to get the value binding of the result. Everything works fine a part from that i can not get the result inside my Input number This is my view App.TotalView =…
Koala7
  • 1,340
  • 7
  • 41
  • 83
1
vote
1 answer

Options not displayed in Ember view Select editable

I can display all my options value and labels when the view is not in the editable mode, the problem is that i can not achieve the same when the Ember Select View is in the editable mode. Here the code in…
Koala7
  • 1,340
  • 7
  • 41
  • 83
1
vote
2 answers

JS Bin while infinite loop

I noticed strange behaviour of JS Bin runner when I execute the following code: var ask = prompt("test"); while(ask!=="yes"){ ask = prompt("test"); } I get this kind of error: Exiting potential infinite loop at line 4. To disable loop…
Adrian Baran
  • 885
  • 7
  • 23
1
vote
2 answers

Code only works on jsfiddle

In this question I asked, how I can generate shades of one color responsive to the number of div's. @DonJuwe came up with a perfectly working solution and demo: http://jsbin.com/xakifequ/1/edit However when I'm trying to use the code from the…
Retador
  • 223
  • 1
  • 3
  • 11
1
vote
1 answer

Python not found as dependency during ' npm jsbin' installation. What is missing?

This question was created from issues I've encountered while trying to install jsbin locally. JGallardo has asked me to create a question from it, because originally I've posted comments in the original Q&A (please follow the link to see what it was…
Matt
  • 25,467
  • 18
  • 120
  • 187
1
vote
2 answers

Retrieve HTML from jsBin to use as template in another bin

I'm building an example of Angular Views in jsBin that's not acting how I would expect. I know in jsBin you can request just the JavaScript from a bin when there is no html by appending js to the address of the…
QueueHammer
  • 10,515
  • 12
  • 67
  • 91
1
vote
3 answers

Changing Letters Algorithm, works in JSBIN but not in Coderbyte, seeking clarification

I'm going through the CoderByte exercises and I came across the following problem: >Using the JavaScript language, have the function LetterChanges(str) take the str parameter being passed and modify it using the following algorithm. Replace every…
DefionsCode
  • 483
  • 4
  • 8
1
vote
2 answers

javascript alert function strange behaviour

So I am learning JavaScript.... I have gone way past this basic stuff in my learning but can't figure out why this wont work: function message(){ alert("message"); } On Js Bin all is ok…
vincentieo
  • 940
  • 2
  • 13
  • 28
1
vote
1 answer

The nature of JS Bin

Can someone explain why awesome tools like JS Bin give errors like: Runner: Permission denied to access property 'scrollX' when I'm trying code like: