Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7675023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:52:05+00:00 2026-05-31T16:52:05+00:00

Dashcode loads a bunch of library listed in an array within part.js (function() {

  • 0

Dashcode loads a bunch of library listed in an array within part.js

(function() {
    var scripts = dashcodePartSupport['core'];

    scripts = scripts.concat(dashcodePartSupport['scripts']);

    for(var index in scripts) {
        var path = scripts[index];
        var scriptTag = '<script apple-no-regeneration="yes" type="text/javascript" src="' + path + '"></script>';

        document.write( scriptTag );
    }    
})();

I tried to edit that file to append my own lib, but the file is not editable. So how can I do ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:52:06+00:00Added an answer on May 31, 2026 at 4:52 pm
    function loadCode(code) {
        var i, j = code.length, element;
    
        for(i=0;i<j;++i) {
            element = document.createElement('script');
            element.src = code[i];
    
            document.getElementsByTagName('head')[0].appendChild(element);
        }
    }
    

    You can use this function this way:

    loadCode(['code1.js', 'code2.js', ...]);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to DashCode, upto now I used to design websites with JavaScript,
I have created a project in Dashcode, inserted a List control, enabled a dynamic
I am trying to make a web app in Dashcode that uses a range
i have watched a site which has taught iphone application using dashcode.it says dashcode
i'm using dashcode for a webapp and in order to add a + button
I started to use Dashcode with a Safari Custom Project, my apps work fine,
I have a list in dashcode where I update a parameter for the datasource
I'm trying to use Dashcode to create a drop-down list for an iPhone Web
Background : I have an Apple Dashcode v3 project in which there is a
I'm trying to customize the javascript that Dashcode uses. So that I won't step

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.