Questions tagged [google-closure]

Google Closure is a framework for writing large-scale applications in JavaScript. It includes an extensive library, a linter, a compiler, a template system, and a stylesheet language.

Google Closure is a framework for writing large-scale applications in JavaScript. It includes an extensive library, a linter, a compiler, a template system, and a stylesheet language.

Closure is an Object-Oriented framework which borrows many concepts from Java, such as support for strong typing for compile-time checking, and deep object inheritance hierarchies.

532 questions
0
votes
1 answer

closure compiler and closure inspector

I am reading an old book on google closure and it tells me about debugging code using closure inspector. The following page tells me that it's depreciated: https://developers.google.com/closure/compiler/docs/inspector It does not say what to use…
HMR
  • 37,593
  • 24
  • 91
  • 160
0
votes
2 answers

Export property of an object

How do I export the method of an object to call externally in the HTML page. The JavaScript code: my.namespace.FeedbackController = Class.create(); Object.extend(my.namespace.FeedbackController.prototype, { initialize:function(fid, fitem){ …
Chris
  • 816
  • 4
  • 11
  • 23
0
votes
3 answers

Closure compiler mixes variable names

I have a problem where the Closure Compiler renames a global variable something like x.sa.xa but in all function where that global variable is referenced the compiler renames it something else like H.sa.xa When I view the HTML page I get a…
Chris
  • 816
  • 4
  • 11
  • 23
0
votes
1 answer

jQuery to Closure (Keep header on screen)

I'm working on a site that uses Closureextensively. I need to make a header row stick when everything else scrolls. I know how to do this in jQuery with just a few lines of code: $(window).load(function(){ $('#main_box').scroll(function() { …
Justin808
  • 20,859
  • 46
  • 160
  • 265
0
votes
2 answers

Google Closure JSDoc Annotation

Is it possible to make protected instance method of the superclass public in the subclass using JSDoc annotation? More specifically, I have a class which is inherited from goog.ui.Control. goog.ui.Control has a protected method setElementInternal.…
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

URL handling when Running django with javascript framework

I have an application written in javascript closure that runs fine on an apache server and a different application that runs on django. I want to include the javascript application in my django project but i have click listeners connected to urls…
algorithmicCoder
  • 6,595
  • 20
  • 68
  • 117
0
votes
3 answers

Using Plovr to remove whitespace from simple javascript file without managing dependencies

I can't figure out how to get Plovr to just remove whitespace from a simple javascript file and not try to manage dependencies or scopes. (I don't want to use ADVANCED mode if I can help it because my needs for this file are extremely simple and I…
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
2 answers

Time Difference between days

Possible Duplicate: Difference between dates in JavaScript I've found myself at a javascript brick wall. I would like to find the difference (in hours and minutes) between two times on two different days. I can produce the hours, minutes and day…
A_Porcupine
  • 1,008
  • 2
  • 13
  • 23
0
votes
1 answer

Closure library key Event listen does not work

I tried the below code to listen key events using google closure-library, but the code does not…
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

Eclipse Indigo with Closure

I installed correctly the plugin for CLOSURE, i followed the steps from here http://www.normalesup.org/~simonet/soft/ow/eclipse-closure-javascript.en.html and then when i try to do the first simple example helloword ->…