Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C6DE1830B for ; Thu, 21 Jan 2016 22:55:08 +0000 (UTC) Received: (qmail 91215 invoked by uid 500); 21 Jan 2016 22:55:08 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 91171 invoked by uid 500); 21 Jan 2016 22:55:08 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 91080 invoked by uid 99); 21 Jan 2016 22:55:08 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2016 22:55:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 90459C17FF for ; Thu, 21 Jan 2016 22:55:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.247 X-Spam-Level: * X-Spam-Status: No, score=1.247 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id D6xEt6L5pRc1 for ; Thu, 21 Jan 2016 22:54:53 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 48B5A31AFD for ; Thu, 21 Jan 2016 22:54:43 +0000 (UTC) Received: (qmail 88984 invoked by uid 99); 21 Jan 2016 22:54:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2016 22:54:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A3403E0098; Thu, 21 Jan 2016 22:54:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jensdeppe@apache.org To: commits@geode.incubator.apache.org Date: Thu, 21 Jan 2016 22:55:03 -0000 Message-Id: <9490a71fd3464fc5a2f48efd1d087cd1@git.apache.org> In-Reply-To: <5a722be4385c4a10b35895ae7886120e@git.apache.org> References: <5a722be4385c4a10b35895ae7886120e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [22/96] [abbrv] [partial] incubator-geode git commit: GEODE-12: rename pulse to gemfire-pulse and make build pass http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/446f451a/gemfire-pulse/src/main/webapp/scripts/lib/jquery.generateFile.js ---------------------------------------------------------------------- diff --git a/gemfire-pulse/src/main/webapp/scripts/lib/jquery.generateFile.js b/gemfire-pulse/src/main/webapp/scripts/lib/jquery.generateFile.js new file mode 100644 index 0000000..391542e --- /dev/null +++ b/gemfire-pulse/src/main/webapp/scripts/lib/jquery.generateFile.js @@ -0,0 +1,58 @@ +(function($){ + + // Creating a jQuery plugin: + + $.generateFile = function(options){ + + options = options || {}; + + if(!options.script || !options.filename || !options.content){ + throw new Error("Please enter all the required config options!"); + } + + // Creating a 1 by 1 px invisible iframe: + + var iframe = $('