auiworks / amcoffee Goto Github PK
View Code? Open in Web Editor NEWA CoffeeScript version of the Chrome Console.
Home Page: https://chrome.google.com/webstore/detail/amcoffee/eohnbihebhopoapemdbbodaiaagpogik
License: MIT License
A CoffeeScript version of the Chrome Console.
Home Page: https://chrome.google.com/webstore/detail/amcoffee/eohnbihebhopoapemdbbodaiaagpogik
License: MIT License
When I query for $(document)
in the normal console, I get
... which is pretty good and understandable.
If I do the same in the amCoffee I get
... which is not very useful in my daily work.
It's kinda nice to have all functions plotted to see what is possible but could we get a combination of both worlds?
Thanks, Bernhard
So I realize I could do window.x = 'hi'
Enteralert x
But I'm used to doing things like x = 'tempVal'
Enteralert x
Unfortunately, x
is undefined in the second command. Is there any way to have the entire console share the same scope across multiple commands? Having to type the entire set of commands in one execution before I can even see what's going to happen is a bit limiting.
As JS stopped at a break point, code in amCoffee returns undefined
to a local variable.
I was trying to use it just like writing JS, but got this error on Ubuntu Chrome 25.0.1364.172
> window
Object has too long reference chain(must not be longer than 1000)
I have been waiting such an extension for a long time. So glad to see it.
Got from Google
https://groups.google.com/forum/#!msg/google-chrome-developer-tools/Bli6NmAIJCA/gCM-_sTuiF0J
> window
RangeError: Maximum call stack size exceeded
at Object.window.__amCoffee__.process (<anonymous>:5:471)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
at Object.window.__amCoffee__.process (<anonymous>:5:500)
Surprisingly, I find myself using the Right Arrow key instead of Tab for autocompletion when I'm working in the console. It would be nice if it could be added to this console also.
When I try to add from the Chrome Web Store:
Package is invalid. Details: '/private/var/folders/96/vcw6tp7n32ldlvt6h9nr1thr0000gn/T/scoped_dir_NjyRPM/CRX_INSTALL/_locales/zh_CN/messages.json: Line: 19, column: 6, Trailing comma not allowed.'.
How can I set variables to object?
> a = {}
{}
> a
ReferenceError: a is not defined
or this :
> h = require 'helpers'
...some functions...
> h
ReferenceError: h is not defined
Printed on any input. The extension worked fine a week ago :/
And make it position: absolute
so it doesn't waste an entire row of output
in the amCoffee tab I enter:
a = -> "test"
It echoes back:
function () {
return "test";
}
I enter:
a()
It echoes back:
ReferenceError: a is not defined
I installed it from google play. what am i doing wrong?
like title
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.