Questions tagged [google-closure-library]

Closure Library is a JavaScript framework used by Google and one of three components to Closure Tools, an open source toolset to aid with developing front-end web applications

Important links:

374 questions
0
votes
1 answer

How to integrate Print Directive of Google Closure Template (Soy)

I would like to know how to integrate a print plugin of Google Closure Template, a.k.a. Soy, step by step if you can, mainly because I'm pretty bad at Java. Below page explains how to do that, but I need more detail…
0
votes
1 answer

Getting "b is undefined" in my .js file with LimeJS

I'm trying to use the javascript compiled file, but I get "b is undefined" since I launch the app with it. I have really no idea where does it come from. I removed et init again the sources from LimeJS, updated the dept. The problem still.. Any…
RodneyRd
  • 130
  • 10
0
votes
1 answer

How to disable auto-repeated key events in tv-container

Is there a way to disable auto-repeated key events? Specifically I'm using the closure google tv web ui library, and when holding down/up scrolling through the components of a tv-container-vertical I'd like it to only move one at a time, regardless…
0
votes
1 answer

Closure events bubble down

I'm working on a web app in Google closure where the structure is something like this: App + Control Pane | + Search Box | + Search Button + Result Pane + Results + Next Page Link The actual component structure is quite a bit…
So8res
  • 9,856
  • 9
  • 56
  • 86
0
votes
1 answer

GoogleTV Closure Library Getting Started

I've been trying to figure out how to use the google closure library for d-pad navigation for my web app. I cannot for the life of me get closure to work. I'm following google's guide here…
ejfrancis
  • 2,925
  • 4
  • 26
  • 42
0
votes
1 answer

How do I use the Google Closure Compiler to build one file?

The question is a little more complicated than the title suggests, so allow me to elaborate. I have a project that is split into two repositories. The both use Google Closure for dependency management and compilation. I need to deliver a compiled…
ian
  • 168
  • 1
  • 1
  • 7
0
votes
1 answer

google closure library rich text editor

I want a standalone rich text editor from google closure library but it does have a lot of files is there a minified version just for the text editor to download i spend 4 hours and i couldn't find anything
someone
  • 300
  • 1
  • 9
0
votes
1 answer

Number of characters displayed per line

Is there any way to figure out the number of characters a browser will display per line inside a container of known size? So I have a rectangle of known dimensions, recX and recY, a pre-defined FONT_SIZE of 13. I am trying to compute the height of a…
flavian
  • 28,161
  • 11
  • 65
  • 105
0
votes
3 answers

Get the clientWidth and clientHeight of resized image

I am resizing an image in JavaScript based on the current viewport size. No media queries and other such things, JS all the way, and no static sizes for elements. So basically it looks something like this: var computedHeight = viewport.height *…
flavian
  • 28,161
  • 11
  • 65
  • 105
0
votes
1 answer

Intellisense and the Google closure library

Are there any files or vsdoc files available to get Intellisense working with the Google closure library?
Ally
  • 4,894
  • 8
  • 37
  • 45
0
votes
0 answers

Google Closure Library – Compilation Warnings

I've been using the Google Closure Compiler for a few years but I haven't played with the actual Closure Library that much. When I compile my app, I get the following warnings. The referenced code is in the library itself, not in my files. I'm…
J. K.
  • 8,268
  • 1
  • 36
  • 35
0
votes
1 answer

Where can I find a list the google closure editor plugins?

I find the google closure documentation difficult to navigate and I can't seem to find a list of the plugins I need to reference to use with my editor field? Could anyone point me to it?
Ally
  • 4,894
  • 8
  • 37
  • 45
0
votes
1 answer

Get an event when an event listener is added or removed on an object in the Google closure library

I am developing an API in which I want to be able to know when an event listener on an object is added or removed. The reason is that some of the events I am firing will require me to continually poll an object for updates, and I don't want to have…
0
votes
1 answer

Google Closure Tools PriorityQueue wrong order

I've created a unique priority queue with an enqueue method like this: huzz.ak.UniquePriorityQueue.prototype.enqueue = function(priority, value) { var node = {'valid': true, 'value': value, 'priority': priority}; var key = value.key; if…
0
votes
1 answer

JSONP send parameters are being modified by the Closure Compiler

I am building a large app using the Google Closure Library. I am getting data from a MongoDB-PHP environment via JSONP. Request go through a load balancing test which determines the most suitable server to get the data from, then returns the…
flavian
  • 28,161
  • 11
  • 65
  • 105
1 2 3
24
25