From user-return-17689-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Aug 29 21:52:24 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D5B77C0A for ; Mon, 29 Aug 2011 21:52:24 +0000 (UTC) Received: (qmail 96874 invoked by uid 500); 29 Aug 2011 21:52:22 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 96763 invoked by uid 500); 29 Aug 2011 21:52:21 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 96755 invoked by uid 99); 29 Aug 2011 21:52:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 21:52:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thefredsmith@gmail.com designates 209.85.161.180 as permitted sender) Received: from [209.85.161.180] (HELO mail-gx0-f180.google.com) (209.85.161.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 21:52:12 +0000 Received: by gxk10 with SMTP id 10so7256355gxk.11 for ; Mon, 29 Aug 2011 14:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=fZ93rP85+XAewaxGhBxhZt242jdPMxl5PKpgPdzEaOw=; b=h/7h7pf2za8ILLHsQEB0q1WK2dNAf9pWzQmJ1WqOVMhL8MxJ9ybQ28JfWD6P8Q2HBY 4Txt+KvlI2K/4csl0w2qDdkcTB482hru96IVANnE8yfrQaeMdAUb3Xr1SnoA8J7uEqaV A27ZzesnkGnEmZk/2nSWZa2xdpZ3VqdQX1Eqk= Received: by 10.42.74.195 with SMTP id x3mr5650294icj.2.1314654711603; Mon, 29 Aug 2011 14:51:51 -0700 (PDT) Received: from [192.168.0.191] ([66.116.70.143]) by mx.google.com with ESMTPS id l1sm1726330icw.23.2011.08.29.14.51.49 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 14:51:50 -0700 (PDT) Message-ID: <4E5C09FF.7080401@gmail.com> Date: Mon, 29 Aug 2011 14:51:59 -0700 From: Fred Smith User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: How do I add an external JS library to CouchDB? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to add the dygraph js library to CouchDB, so I can graph data in a list function. I have downloaded the library, but I don't know where it should go. When I try create a 'new Dygraph' I get: error":"render_error","reason":"function raised error: (new ReferenceError(\"Dygraph is not defined\ ...." I feel this is a dumb question, but how do I add an external JS library to CouchDB? Thanks for the help, Fred This is a sample from dygraph that won't work.